Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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.0009341/0.0009341, allocations: 80.72 kB / 22.21 MB, free: 2.293 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.0008994/0.0008994, allocations: 148.4 kB / 25.6 MB, free: 8.914 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.9173/0.9173, allocations: 173.4 MB / 202.2 MB, free: 8.32 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.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 269.2 MB, free: 9.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.643e-05/1.76e-05, allocations: 2.312 kB / 269.2 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.007292/0.007309, allocations: 4.313 MB / 273.5 MB, free: 5.473 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.008758, allocations: 1.192 MB / 274.7 MB, free: 4.285 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001879/0.008946, allocations: 11.94 kB / 274.7 MB, free: 4.273 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002692/0.009215, allocations: 138.8 kB / 274.8 MB, free: 4.137 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003679/0.009583, allocations: 281.5 kB / 275.1 MB, free: 3.859 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000267/0.00985, allocations: 207.5 kB / 275.3 MB, free: 3.656 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006828/0.01053, allocations: 0.9595 MB / 276.3 MB, free: 2.695 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002207/0.01075, allocations: 165 kB / 276.4 MB, free: 2.527 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004244/0.01118, allocations: 0.5418 MB / 277 MB, free: 1.984 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002896/0.01147, allocations: 299.1 kB / 277.3 MB, free: 1.691 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.194e-05/0.01155, allocations: 76 kB / 277.3 MB, free: 1.617 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.128e-05/0.01163, allocations: 76 kB / 277.4 MB, free: 1.543 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.789e-05/0.01173, allocations: 167.4 kB / 277.6 MB, free: 1.379 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002082/0.01194, allocations: 303.3 kB / 277.9 MB, free: 1.082 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004575/0.01239, allocations: 0.611 MB / 278.5 MB, free: 480 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.0124, allocations: 0 / 278.5 MB, free: 480 kB / 250.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.0124, allocations: 0 / 278.5 MB, free: 480 kB / 250.7 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.0124, allocations: 0 / 278.5 MB, free: 480 kB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001131/0.01353, allocations: 1.145 MB / 279.6 MB, free: 15.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.673e-05/0.01356, allocations: 8.031 kB / 279.6 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.01368, allocations: 132.4 kB / 279.8 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003698/0.01405, allocations: 412.3 kB / 280.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.313e-05/0.01415, allocations: 148.4 kB / 280.3 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.822e-05/0.01421, allocations: 56.33 kB / 280.4 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006669/0.01487, allocations: 1.059 MB / 281.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.01489, allocations: 3.938 kB / 281.4 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.413e-05/0.01492, allocations: 24 kB / 281.5 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.01493, allocations: 8 kB / 281.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/0.01517, allocations: 182.8 kB / 281.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/0.01666, allocations: 1.408 MB / 283.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006962/0.01735, allocations: 383.3 kB / 283.4 MB, free: 11.13 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.01749, allocations: 117.1 kB / 283.5 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.01752, allocations: 12.5 kB / 283.6 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.01754, allocations: 49.88 kB / 283.6 MB, free: 10.94 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 1.653e-06/0.01754, allocations: 0 / 283.6 MB, free: 10.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.001815/0.01936, allocations: 0.8584 MB / 284.5 MB, free: 10.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000159/0.01952, allocations: 0.5722 MB / 285 MB, free: 9.359 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.01983, allocations: 0.4946 MB / 285.5 MB, free: 8.848 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.01987, allocations: 41.7 kB / 285.6 MB, free: 8.801 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.02005, allocations: 360.3 kB / 285.9 MB, free: 8.438 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.02016, allocations: 194.3 kB / 286.1 MB, free: 8.246 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.0203, allocations: 127.9 kB / 286.2 MB, free: 8.113 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.02047, allocations: 0.5468 MB / 286.8 MB, free: 7.555 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.02058, allocations: 94.95 kB / 286.9 MB, free: 7.457 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003978/0.02097, allocations: 0.8869 MB / 287.8 MB, free: 6.328 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002676/0.02124, allocations: 270 kB / 288 MB, free: 6.039 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.02124, allocations: 4 kB / 288 MB, free: 6.035 MB / 266.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0008109/0.02206, allocations: 0.5773 MB / 288.6 MB, free: 5.426 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.02208, allocations: 31.73 kB / 288.6 MB, free: 5.391 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.02208, allocations: 0 / 288.6 MB, free: 5.391 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005868/0.02267, allocations: 214.8 kB / 288.9 MB, free: 5.168 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003124/0.02298, allocations: 115.9 kB / 289 MB, free: 5.055 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003589/0.02657, allocations: 6.112 MB / 295.1 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/0.02682, allocations: 59.72 kB / 295.1 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.02684, allocations: 19.92 kB / 295.2 MB, free: 14.52 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(5,2), (1,1), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001403/0.02698, allocations: 192.5 kB / 295.3 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.393e-05/0.02706, allocations: 83.62 kB / 295.4 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007512/0.02782, allocations: 0.5025 MB / 295.9 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.02782, allocations: 8 kB / 295.9 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.02e-07/0.02782, allocations: 0 / 295.9 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007286/0.02855, allocations: 0.7888 MB / 296.7 MB, free: 12.81 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/0.02974, allocations: 1.014 MB / 297.7 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.02974, allocations: 0 / 297.7 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003204/0.03006, allocations: 119.8 kB / 297.9 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000485/0.03055, allocations: 171.3 kB / 298 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.03057, allocations: 19.92 kB / 298 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002342/0.03291, allocations: 4.125 MB / 302.2 MB, free: 7.082 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.03291, allocations: 0 / 302.2 MB, free: 7.082 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.03393, allocations: 0.7079 MB / 302.9 MB, free: 6.344 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.03408, allocations: 127.4 kB / 303 MB, free: 6.219 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.656e-05/0.03414, allocations: 16 kB / 303 MB, free: 6.203 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.03436, allocations: 27.97 kB / 303 MB, free: 6.176 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.035e-05/0.03443, allocations: 48.41 kB / 303.1 MB, free: 6.129 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.03444, allocations: 12 kB / 303.1 MB, free: 6.117 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001777/0.03462, allocations: 330.6 kB / 303.4 MB, free: 5.797 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03462, allocations: 0 / 303.4 MB, free: 5.797 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004156/0.03504, allocations: 223.8 kB / 303.6 MB, free: 5.578 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * 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 (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,2), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001029/0.03514, allocations: 115.2 kB / 303.8 MB, free: 5.457 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009472/0.03609, allocations: 0.9819 MB / 304.7 MB, free: 4.398 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.03609, allocations: 4 kB / 304.7 MB, free: 4.395 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004353/0.03653, allocations: 0.5457 MB / 305.3 MB, free: 3.809 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.03699, allocations: 186.9 kB / 305.5 MB, free: 3.629 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.03848, allocations: 1.153 MB / 306.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.005e-05/0.03857, allocations: 143.6 kB / 306.8 MB, free: 2.281 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001855/0.03875, allocations: 76.92 kB / 306.8 MB, free: 2.203 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004531/0.03921, allocations: 334 kB / 307.2 MB, free: 1.875 MB / 282.7 MB Notification: Performance of SimCode: time 1.243e-06/0.03921, allocations: 0 / 307.2 MB, free: 1.875 MB / 282.7 MB Notification: Performance of Templates: time 0.01569/0.0549, allocations: 15.94 MB / 323.1 MB, free: 2.234 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.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: 3.127234673127532]