Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 96.3 kB / 21.73 MB, free: 2.703 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 163.5 kB / 25.02 MB, free: 8.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 158.6 MB / 186.8 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.444e-06/2.444e-06, allocations: 0 / 250.3 MB, free: 3.949 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.618e-05/3.862e-05, allocations: 6.312 kB / 250.4 MB, free: 3.941 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005922/0.005961, allocations: 3.354 MB / 253.7 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00275/0.008711, allocations: 0.986 MB / 254.7 MB, free: 15.57 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003256/0.009036, allocations: 7.938 kB / 254.7 MB, free: 15.56 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00044/0.009476, allocations: 107.1 kB / 254.8 MB, free: 15.45 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000536/0.01001, allocations: 202.2 kB / 255 MB, free: 15.25 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003519/0.01036, allocations: 135.7 kB / 255.1 MB, free: 15.12 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009078/0.01127, allocations: 0.7156 MB / 255.8 MB, free: 14.4 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002777/0.01155, allocations: 118.9 kB / 256 MB, free: 14.28 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005054/0.01206, allocations: 399.1 kB / 256.4 MB, free: 13.89 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003363/0.01239, allocations: 207.4 kB / 256.6 MB, free: 13.68 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.855e-05/0.01249, allocations: 60 kB / 256.6 MB, free: 13.62 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.01259, allocations: 56 kB / 256.7 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.01274, allocations: 131.5 kB / 256.8 MB, free: 13.44 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002706/0.01302, allocations: 219.5 kB / 257 MB, free: 13.23 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.01412, allocations: 0.7126 MB / 257.7 MB, free: 12.51 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.01413, allocations: 0 / 257.7 MB, free: 12.51 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.01413, allocations: 4 kB / 257.7 MB, free: 12.51 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.01414, allocations: 0 / 257.7 MB, free: 12.51 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001764/0.0159, allocations: 0.8294 MB / 258.6 MB, free: 11.64 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.01595, allocations: 11.98 kB / 258.6 MB, free: 11.63 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002014/0.01616, allocations: 96.52 kB / 258.7 MB, free: 11.54 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009273/0.01708, allocations: 376.3 kB / 259 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001629/0.01725, allocations: 110.3 kB / 259.1 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.248e-05/0.01734, allocations: 44.31 kB / 259.2 MB, free: 10.97 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.01869, allocations: 0.8584 MB / 260 MB, free: 9.965 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.01871, allocations: 192 / 260 MB, free: 9.965 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.058e-05/0.01877, allocations: 20.12 kB / 260.1 MB, free: 9.945 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.01878, allocations: 8 kB / 260.1 MB, free: 9.938 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009197/0.0197, allocations: 330.4 kB / 260.4 MB, free: 9.617 MB / 250.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 preOpt removeSimpleEquations (simulation): time 0.002158/0.02186, allocations: 0.952 MB / 261.3 MB, free: 8.629 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007277/0.02259, allocations: 284.9 kB / 261.6 MB, free: 8.344 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004427/0.02303, allocations: 168.8 kB / 261.8 MB, free: 8.176 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.173e-05/0.02307, allocations: 7.938 kB / 261.8 MB, free: 8.168 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.454e-05/0.02312, allocations: 46.56 kB / 261.8 MB, free: 8.113 MB / 250.7 MB Notification: Performance of pre-optimization done (n=35): time 2.565e-06/0.02312, allocations: 0 / 261.8 MB, free: 8.113 MB / 250.7 MB Notification: Performance of matching and sorting (n=35): time 0.001718/0.02484, allocations: 0.5772 MB / 262.4 MB, free: 7.523 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003207/0.02516, allocations: 452.9 kB / 262.9 MB, free: 6.977 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005722/0.02573, allocations: 425.9 kB / 263.3 MB, free: 6.559 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.909e-05/0.02578, allocations: 37.69 kB / 263.3 MB, free: 6.516 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002482/0.02603, allocations: 244.6 kB / 263.6 MB, free: 6.27 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.02616, allocations: 126.9 kB / 263.7 MB, free: 6.145 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.02632, allocations: 73.69 kB / 263.7 MB, free: 6.066 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002381/0.02655, allocations: 362.8 kB / 264.1 MB, free: 5.703 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004236/0.02698, allocations: 161.6 kB / 264.3 MB, free: 5.539 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009826/0.02796, allocations: 0.6853 MB / 264.9 MB, free: 4.699 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008146/0.02878, allocations: 341.1 kB / 265.3 MB, free: 4.355 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.02878, allocations: 0 / 265.3 MB, free: 4.355 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001168/0.02995, allocations: 0.5154 MB / 265.8 MB, free: 3.816 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.865e-05/0.02999, allocations: 33.73 kB / 265.8 MB, free: 3.777 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.03, allocations: 0 / 265.8 MB, free: 3.777 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002065/0.03021, allocations: 61.61 kB / 265.9 MB, free: 3.711 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004386/0.03065, allocations: 79.94 kB / 266 MB, free: 3.633 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003035/0.03368, allocations: 2.7 MB / 268.7 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004744/0.03416, allocations: 55.84 kB / 268.7 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-05/0.03419, allocations: 12 kB / 268.7 MB, free: 0.6602 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003046/0.0345, allocations: 166 kB / 268.9 MB, free: 500 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.03463, allocations: 67.66 kB / 269 MB, free: 432 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001258/0.03475, allocations: 60.55 kB / 269 MB, free: 368 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.03476, allocations: 4 kB / 269 MB, free: 364 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.03477, allocations: 0 / 269 MB, free: 364 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001176/0.03594, allocations: 0.7244 MB / 269.7 MB, free: 15.53 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/0.03768, allocations: 0.8606 MB / 270.6 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.03768, allocations: 0 / 270.6 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004563/0.03814, allocations: 87.88 kB / 270.7 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.03814, allocations: 0 / 270.7 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/0.03817, allocations: 4 kB / 270.7 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.03817, allocations: 8 kB / 270.7 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.03817, allocations: 0 / 270.7 MB, free: 14.53 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.03963, allocations: 0.66 MB / 271.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002129/0.03984, allocations: 87.62 kB / 271.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.722e-05/0.03991, allocations: 20 kB / 271.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003752/0.04029, allocations: 23.97 kB / 271.5 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002567/0.04054, allocations: 23.95 kB / 271.5 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/0.04057, allocations: 12 kB / 271.5 MB, free: 13.69 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004253/0.041, allocations: 303.1 kB / 271.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.041, allocations: 0 / 271.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005791/0.04158, allocations: 143.8 kB / 272 MB, free: 13.26 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002077/0.04178, allocations: 107.2 kB / 272.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001568/0.04335, allocations: 0.6577 MB / 272.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.04336, allocations: 0 / 272.7 MB, free: 12.44 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004449/0.0438, allocations: 171.7 kB / 272.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007459/0.04455, allocations: 137.5 kB / 273 MB, free: 12.13 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.04643, allocations: 0.8723 MB / 273.9 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.04669, allocations: 224.5 kB / 274.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002437/0.04694, allocations: 60.25 kB / 274.2 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.04706, allocations: 36.5 kB / 274.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.04706, allocations: 4 kB / 274.2 MB, free: 10.89 MB / 266.7 MB Notification: Performance of Templates: time 0.01901/0.06607, allocations: 9.291 MB / 283.5 MB, free: 1.617 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.848458605003543]