Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008768/0.0008768, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000815/0.000815, allocations: 143.5 kB / 24.89 MB, free: 8.789 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9216/0.9216, allocations: 173.4 MB / 201.5 MB, free: 8.773 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") translateModel(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|capacitor3a.T|capacitor3b.T|directCapacity.heatCapacitor.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 268.4 MB, free: 6.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.398e-05/1.525e-05, allocations: 9.766 kB / 268.4 MB, free: 6.07 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.002616/0.002631, allocations: 2.951 MB / 271.4 MB, free: 3.098 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.00371, allocations: 0.9937 MB / 272.4 MB, free: 2.102 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.003844, allocations: 11.88 kB / 272.4 MB, free: 2.09 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001903/0.004034, allocations: 98.98 kB / 272.5 MB, free: 1.992 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.004161, allocations: 106.8 kB / 272.6 MB, free: 1.887 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.00451, allocations: 219.5 kB / 272.8 MB, free: 1.672 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003616/0.004871, allocations: 0.5563 MB / 273.4 MB, free: 1.113 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001936/0.005065, allocations: 145.2 kB / 273.5 MB, free: 0.957 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002177/0.005283, allocations: 271.4 kB / 273.8 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.005409, allocations: 127.5 kB / 273.9 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.484e-05/0.005444, allocations: 36 kB / 273.9 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.462e-05/0.005518, allocations: 47.98 kB / 274 MB, free: 496 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.25e-05/0.005571, allocations: 91.59 kB / 274.1 MB, free: 404 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.339e-05/0.005654, allocations: 143.6 kB / 274.2 MB, free: 260 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003042/0.005958, allocations: 362.5 kB / 274.6 MB, free: 15.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.00596, allocations: 0 / 274.6 MB, free: 15.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.00596, allocations: 4 kB / 274.6 MB, free: 15.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.005965, allocations: 0 / 274.6 MB, free: 15.89 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0005374/0.006502, allocations: 0.6516 MB / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.006532, allocations: 12.03 kB / 275.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.327e-05/0.006596, allocations: 72.62 kB / 275.3 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.006907, allocations: 324.7 kB / 275.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.006927, allocations: 29 kB / 275.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.407e-05/0.006971, allocations: 40 kB / 275.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003411/0.007312, allocations: 424 kB / 276.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.007327, allocations: 7.891 kB / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.007346, allocations: 20 kB / 276.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.007357, allocations: 16 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.007515, allocations: 142.8 kB / 276.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.008645, allocations: 2.433 MB / 278.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.008839, allocations: 98.12 kB / 278.8 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.856e-05/0.008878, allocations: 36.78 kB / 278.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.97e-05/0.008928, allocations: 8 kB / 278.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/0.008946, allocations: 38.5 kB / 278.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.008948, allocations: 0 / 278.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005452/0.009493, allocations: 368.5 kB / 279.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.009517, allocations: 55.41 kB / 279.3 MB, free: 10.85 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.009685, allocations: 335.2 kB / 279.6 MB, free: 10.51 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.009697, allocations: 25.7 kB / 279.7 MB, free: 10.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.009799, allocations: 272.3 kB / 279.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.009836, allocations: 71.41 kB / 280 MB, free: 10.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.388e-05/0.00989, allocations: 65.64 kB / 280.1 MB, free: 10.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.336e-05/0.009973, allocations: 354.7 kB / 280.4 MB, free: 9.711 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.14e-05/0.01, allocations: 27.98 kB / 280.4 MB, free: 9.684 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.481e-05/0.0101, allocations: 175.5 kB / 280.6 MB, free: 9.441 MB / 266.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: inverseCapacity.mass.T = $START.inverseCapacity.mass.T ($START.directCapacity.heatFlowToTemperature.y = $START.inverseCapacity.mass.T) Notification: Performance of analyzeInitialSystem (initialization): time 0.0002411/0.01034, allocations: 295.1 kB / 280.9 MB, free: 9.082 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.01034, allocations: 4 kB / 280.9 MB, free: 9.078 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000221/0.01056, allocations: 244.7 kB / 281.1 MB, free: 8.832 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.01058, allocations: 8.688 kB / 281.2 MB, free: 8.824 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.01058, allocations: 7.984 kB / 281.2 MB, free: 8.816 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.386e-05/0.01068, allocations: 32.86 kB / 281.2 MB, free: 8.781 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.01082, allocations: 79.77 kB / 281.3 MB, free: 8.703 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006632/0.01148, allocations: 1.364 MB / 282.6 MB, free: 7.254 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.452e-05/0.01156, allocations: 12 kB / 282.6 MB, free: 7.242 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.01157, allocations: 16 kB / 282.7 MB, free: 7.227 MB / 266.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: inverseCapacity.mass.T = $START.inverseCapacity.mass.T. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.456e-05/0.01166, allocations: 141.6 kB / 282.8 MB, free: 7.078 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.01169, allocations: 27.97 kB / 282.8 MB, free: 7.051 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.266e-05/0.01172, allocations: 35.53 kB / 282.9 MB, free: 7.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.01173, allocations: 4 kB / 282.9 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.01173, allocations: 0 / 282.9 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.01173, allocations: 3.984 kB / 282.9 MB, free: 7.012 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003708/0.0121, allocations: 392.2 kB / 283.3 MB, free: 6.594 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.0121, allocations: 4 kB / 283.3 MB, free: 6.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.993e-05/0.01219, allocations: 35.86 kB / 283.3 MB, free: 6.555 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.447e-05/0.01224, allocations: 24.88 kB / 283.3 MB, free: 6.527 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.01225, allocations: 4 kB / 283.3 MB, free: 6.523 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004603/0.01271, allocations: 1.186 MB / 284.5 MB, free: 5.246 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.01271, allocations: 0 / 284.5 MB, free: 5.246 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.01294, allocations: 249.5 kB / 284.7 MB, free: 4.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.414e-05/0.01297, allocations: 27.77 kB / 284.8 MB, free: 4.953 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.01299, allocations: 8 kB / 284.8 MB, free: 4.945 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.814e-05/0.01304, allocations: 4.031 kB / 284.8 MB, free: 4.941 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.952e-05/0.01307, allocations: 15.97 kB / 284.8 MB, free: 4.926 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.01308, allocations: 4 kB / 284.8 MB, free: 4.922 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.85e-05/0.01316, allocations: 128.7 kB / 284.9 MB, free: 4.797 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01316, allocations: 4 kB / 284.9 MB, free: 4.793 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002243/0.01338, allocations: 64 kB / 285 MB, free: 4.73 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inverseCapacity.mass.T,capacitor3a.T,capacitor3b.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.158e-05/0.01345, allocations: 80.36 kB / 285.1 MB, free: 4.645 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002682/0.01372, allocations: 274.7 kB / 285.3 MB, free: 4.363 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.01373, allocations: 4 kB / 285.4 MB, free: 4.359 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.159e-05/0.01382, allocations: 168.8 kB / 285.5 MB, free: 4.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.01399, allocations: 41.48 kB / 285.6 MB, free: 4.141 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009305/0.01492, allocations: 0.7358 MB / 286.3 MB, free: 3.367 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.102e-05/0.01498, allocations: 104.6 kB / 286.4 MB, free: 3.246 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.237e-05/0.01505, allocations: 43.27 kB / 286.4 MB, free: 3.207 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.651e-05/0.01515, allocations: 103.3 kB / 286.5 MB, free: 3.105 MB / 266.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01515, allocations: 0 / 286.5 MB, free: 3.105 MB / 266.7 MB Notification: Performance of Templates: time 0.005234/0.02039, allocations: 2.902 MB / 289.4 MB, free: 260 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & ./Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.676458204165101]