Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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.0009918/0.0009918, allocations: 83.73 kB / 21.97 MB, free: 2.594 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.0009401/0.0009401, allocations: 164.5 kB / 25.33 MB, free: 9.211 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 0.8752/0.8752, allocations: 158.6 MB / 187.2 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] 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.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 251 MB, free: 7.516 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.357e-05/2.53e-05, allocations: 6.312 kB / 251 MB, free: 7.508 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.004186/0.004211, allocations: 4.382 MB / 255.4 MB, free: 3.098 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002368/0.006579, allocations: 1.243 MB / 256.7 MB, free: 1.844 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002328/0.006812, allocations: 11.94 kB / 256.7 MB, free: 1.832 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003444/0.007157, allocations: 126.8 kB / 256.8 MB, free: 1.707 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000494/0.007651, allocations: 293.5 kB / 257.1 MB, free: 1.418 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004262/0.008077, allocations: 203.5 kB / 257.3 MB, free: 1.219 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008323/0.008909, allocations: 0.9643 MB / 258.2 MB, free: 256 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002652/0.009174, allocations: 153 kB / 258.4 MB, free: 96 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00064/0.009814, allocations: 0.5418 MB / 258.9 MB, free: 15.55 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003508/0.01017, allocations: 295.2 kB / 259.2 MB, free: 15.26 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.01027, allocations: 76 kB / 259.3 MB, free: 15.19 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.772e-05/0.01036, allocations: 76 kB / 259.4 MB, free: 15.11 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.01047, allocations: 175.3 kB / 259.5 MB, free: 14.94 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002205/0.01069, allocations: 299.4 kB / 259.8 MB, free: 14.65 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005602/0.01125, allocations: 0.6033 MB / 260.4 MB, free: 14.04 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.01125, allocations: 4 kB / 260.4 MB, free: 14.04 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01125, allocations: 0 / 260.4 MB, free: 14.04 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.01127, allocations: 0 / 260.4 MB, free: 14.04 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001289/0.01255, allocations: 1.145 MB / 261.6 MB, free: 12.84 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.01259, allocations: 15.98 kB / 261.6 MB, free: 12.83 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.01275, allocations: 124.4 kB / 261.7 MB, free: 12.71 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004698/0.01322, allocations: 412.4 kB / 262.1 MB, free: 12.28 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.01334, allocations: 148.4 kB / 262.3 MB, free: 12.11 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.128e-05/0.01341, allocations: 56.38 kB / 262.3 MB, free: 12.05 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004215/0.01763, allocations: 1.095 MB / 263.4 MB, free: 10.74 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.01765, allocations: 0 / 263.4 MB, free: 10.74 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.896e-05/0.0177, allocations: 20 kB / 263.4 MB, free: 10.72 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.01771, allocations: 12 kB / 263.5 MB, free: 10.71 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004588/0.01817, allocations: 229.8 kB / 263.7 MB, free: 10.48 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002146/0.02031, allocations: 1.486 MB / 265.2 MB, free: 8.93 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.02137, allocations: 415.1 kB / 265.6 MB, free: 8.516 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002417/0.02161, allocations: 137.1 kB / 265.7 MB, free: 8.379 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.751e-05/0.02165, allocations: 12.5 kB / 265.7 MB, free: 8.363 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.02168, allocations: 45.89 kB / 265.8 MB, free: 8.309 MB / 250.7 MB Notification: Performance of pre-optimization done (n=54): time 2.124e-06/0.02168, allocations: 0 / 265.8 MB, free: 8.309 MB / 250.7 MB Notification: Performance of matching and sorting (n=54): time 0.005662/0.02734, allocations: 0.9328 MB / 266.7 MB, free: 7.359 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001818/0.02753, allocations: 0.5644 MB / 267.3 MB, free: 6.656 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004834/0.02801, allocations: 0.5182 MB / 267.8 MB, free: 6.121 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.156e-05/0.02805, allocations: 37.7 kB / 267.8 MB, free: 6.078 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.02826, allocations: 352.4 kB / 268.2 MB, free: 5.723 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.02838, allocations: 190.3 kB / 268.3 MB, free: 5.535 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/0.02853, allocations: 123.8 kB / 268.5 MB, free: 5.406 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.0287, allocations: 0.5547 MB / 269 MB, free: 4.84 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.0289, allocations: 115 kB / 269.1 MB, free: 4.723 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003748/0.03265, allocations: 0.9065 MB / 270 MB, free: 3.57 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004447/0.03309, allocations: 310 kB / 270.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.0331, allocations: 4 kB / 270.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001151/0.03425, allocations: 0.6202 MB / 271 MB, free: 2.586 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/0.03428, allocations: 37.69 kB / 271 MB, free: 2.543 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.03428, allocations: 4.125 kB / 271 MB, free: 2.539 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006774/0.04106, allocations: 202.9 kB / 271.2 MB, free: 2.328 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004134/0.04147, allocations: 119.8 kB / 271.3 MB, free: 2.211 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01073/0.0522, allocations: 6.211 MB / 277.5 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003385/0.05254, allocations: 71.7 kB / 277.6 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.393e-05/0.05257, allocations: 19.98 kB / 277.6 MB, free: 11.54 MB / 266.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.0001699/0.05274, allocations: 188.5 kB / 277.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.05285, allocations: 87.58 kB / 277.9 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007109/0.05996, allocations: 0.5533 MB / 278.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.05997, allocations: 4 kB / 278.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-06/0.05997, allocations: 4 kB / 278.5 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001036/0.06101, allocations: 0.8202 MB / 279.3 MB, free: 9.746 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007715/0.06872, allocations: 1.13 MB / 280.4 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.06872, allocations: 0 / 280.4 MB, free: 8.559 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004357/0.06916, allocations: 123.8 kB / 280.5 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006326/0.06979, allocations: 175.1 kB / 280.7 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/0.06982, allocations: 11.98 kB / 280.7 MB, free: 8.246 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01216/0.08198, allocations: 4.214 MB / 284.9 MB, free: 3.793 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.08199, allocations: 4 kB / 284.9 MB, free: 3.789 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007338/0.08932, allocations: 0.7704 MB / 285.7 MB, free: 2.988 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000441/0.08977, allocations: 127.4 kB / 285.8 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.632e-05/0.08983, allocations: 12 kB / 285.8 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/0.09013, allocations: 31.97 kB / 285.9 MB, free: 2.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.09024, allocations: 48.34 kB / 285.9 MB, free: 2.773 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.09027, allocations: 16 kB / 285.9 MB, free: 2.758 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002931/0.09056, allocations: 350.8 kB / 286.3 MB, free: 2.418 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.09056, allocations: 7.938 kB / 286.3 MB, free: 2.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.003676/0.09424, allocations: 223.8 kB / 286.5 MB, free: 2.191 MB / 266.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.0001337/0.09437, allocations: 111.2 kB / 286.6 MB, free: 2.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001226/0.0956, allocations: 1.016 MB / 287.6 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.0956, allocations: 0 / 287.6 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005502/0.09615, allocations: 0.5536 MB / 288.2 MB, free: 400 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006715/0.09682, allocations: 198.7 kB / 288.4 MB, free: 204 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005334/0.1022, allocations: 1.157 MB / 289.5 MB, free: 15.01 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/0.1023, allocations: 139.6 kB / 289.7 MB, free: 14.85 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002873/0.1026, allocations: 76.92 kB / 289.7 MB, free: 14.77 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.1027, allocations: 56.48 kB / 289.8 MB, free: 14.72 MB / 282.7 MB Notification: Performance of SimCode: time 1.122e-06/0.1027, allocations: 0 / 289.8 MB, free: 14.72 MB / 282.7 MB Notification: Performance of Templates: time 0.02121/0.1239, allocations: 15.41 MB / 305.2 MB, free: 15.32 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.240543120075017]