Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001012/0.001012, allocations: 91.5 kB / 21.19 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001081/0.001081, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9605/0.9605, allocations: 177 MB / 204.8 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 272.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.43e-05, allocations: 2.312 kB / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.004034/0.004058, allocations: 4.403 MB / 277.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.00591, allocations: 1.223 MB / 278.5 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002373/0.006147, allocations: 11.94 kB / 278.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003061/0.006453, allocations: 134.8 kB / 278.7 MB, free: 11.67 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004348/0.006888, allocations: 281.5 kB / 278.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003685/0.007257, allocations: 215.5 kB / 279.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007499/0.008007, allocations: 0.9679 MB / 280.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002265/0.008233, allocations: 161 kB / 280.3 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005535/0.008787, allocations: 0.5495 MB / 280.8 MB, free: 9.496 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000565/0.009352, allocations: 299.2 kB / 281.1 MB, free: 9.203 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.734e-05/0.009439, allocations: 76 kB / 281.2 MB, free: 9.129 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.009556, allocations: 80 kB / 281.3 MB, free: 9.051 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.927e-05/0.009645, allocations: 167.4 kB / 281.4 MB, free: 8.887 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002118/0.009857, allocations: 295.3 kB / 281.7 MB, free: 8.598 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005349/0.01039, allocations: 0.615 MB / 282.3 MB, free: 7.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.0104, allocations: 0 / 282.3 MB, free: 7.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.0104, allocations: 4 kB / 282.3 MB, free: 7.977 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.01041, allocations: 0 / 282.3 MB, free: 7.977 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001221/0.01163, allocations: 1.137 MB / 283.5 MB, free: 6.789 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.01166, allocations: 11.98 kB / 283.5 MB, free: 6.777 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002297/0.01189, allocations: 132.4 kB / 283.6 MB, free: 6.648 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004768/0.01237, allocations: 420.3 kB / 284 MB, free: 6.211 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.0125, allocations: 148.3 kB / 284.2 MB, free: 6.039 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.539e-05/0.01256, allocations: 60.38 kB / 284.2 MB, free: 5.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007853/0.01335, allocations: 1.091 MB / 285.3 MB, free: 4.664 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.01336, allocations: 0 / 285.3 MB, free: 4.664 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.666e-05/0.0134, allocations: 24 kB / 285.3 MB, free: 4.641 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.01341, allocations: 8 kB / 285.4 MB, free: 4.633 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003616/0.01377, allocations: 229.8 kB / 285.6 MB, free: 4.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.01557, allocations: 1.482 MB / 287.1 MB, free: 2.867 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000843/0.01641, allocations: 414.9 kB / 287.5 MB, free: 2.449 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.0166, allocations: 140.8 kB / 287.6 MB, free: 2.309 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.519e-05/0.01664, allocations: 16.48 kB / 287.6 MB, free: 2.293 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.01667, allocations: 53.83 kB / 287.7 MB, free: 2.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 1.934e-06/0.01667, allocations: 0 / 287.7 MB, free: 2.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.002276/0.01895, allocations: 0.9246 MB / 288.6 MB, free: 1.285 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001503/0.0191, allocations: 0.5644 MB / 289.2 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003738/0.01947, allocations: 0.5183 MB / 289.7 MB, free: 52 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/0.01951, allocations: 37.7 kB / 289.7 MB, free: 8 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.01969, allocations: 352.4 kB / 290.1 MB, free: 15.65 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.01979, allocations: 198.3 kB / 290.2 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.01991, allocations: 112 kB / 290.4 MB, free: 15.34 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.02006, allocations: 0.5469 MB / 290.9 MB, free: 14.78 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.02023, allocations: 119 kB / 291 MB, free: 14.66 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004191/0.02065, allocations: 0.9142 MB / 291.9 MB, free: 13.5 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003593/0.02101, allocations: 306 kB / 292.2 MB, free: 13.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.02101, allocations: 0 / 292.2 MB, free: 13.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009388/0.02195, allocations: 0.6203 MB / 292.9 MB, free: 12.53 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.02198, allocations: 37.7 kB / 292.9 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.02199, allocations: 0 / 292.9 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006382/0.02263, allocations: 210.8 kB / 293.1 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003219/0.02295, allocations: 119.8 kB / 293.2 MB, free: 12.15 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003957/0.0269, allocations: 6.211 MB / 299.4 MB, free: 5.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002804/0.02718, allocations: 59.7 kB / 299.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.02721, allocations: 16 kB / 299.5 MB, free: 5.496 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.0001597/0.02737, allocations: 200.5 kB / 299.7 MB, free: 5.289 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.607e-05/0.02746, allocations: 91.58 kB / 299.8 MB, free: 5.199 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008919/0.02835, allocations: 0.5533 MB / 300.3 MB, free: 4.621 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.02835, allocations: 4 kB / 300.3 MB, free: 4.617 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-06/0.02835, allocations: 4 kB / 300.3 MB, free: 4.613 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008524/0.02921, allocations: 0.8241 MB / 301.2 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001669/0.03088, allocations: 1.13 MB / 302.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.03088, allocations: 4 kB / 302.3 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003383/0.03122, allocations: 119.8 kB / 302.4 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005284/0.03175, allocations: 171.1 kB / 302.6 MB, free: 2.195 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.19e-05/0.03178, allocations: 12 kB / 302.6 MB, free: 2.184 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1112/0.143, allocations: 4.207 MB / 306.8 MB, free: 35.89 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.143, allocations: 0.9062 kB / 306.8 MB, free: 35.89 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001303/0.1443, allocations: 0.7725 MB / 307.6 MB, free: 35.68 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002188/0.1445, allocations: 121.5 kB / 307.7 MB, free: 35.68 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.163e-05/0.1446, allocations: 16.56 kB / 307.7 MB, free: 35.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.1448, allocations: 29.2 kB / 307.7 MB, free: 35.68 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.1449, allocations: 49.45 kB / 307.8 MB, free: 35.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.145, allocations: 16.52 kB / 307.8 MB, free: 35.68 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002627/0.1452, allocations: 346.4 kB / 308.1 MB, free: 35.55 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1452, allocations: 0 / 308.1 MB, free: 35.55 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005807/0.1458, allocations: 226.8 kB / 308.4 MB, free: 35.55 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.0001198/0.1459, allocations: 112 kB / 308.5 MB, free: 35.46 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001103/0.147, allocations: 1.026 MB / 309.5 MB, free: 34.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.147, allocations: 1.188 kB / 309.5 MB, free: 34.82 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004171/0.1474, allocations: 0.5558 MB / 310.1 MB, free: 34.47 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005361/0.148, allocations: 186.7 kB / 310.2 MB, free: 34.46 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.1498, allocations: 1.163 MB / 311.4 MB, free: 33.96 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.1499, allocations: 140.6 kB / 311.5 MB, free: 33.88 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002348/0.1501, allocations: 73.98 kB / 311.6 MB, free: 33.86 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.1502, allocations: 54.47 kB / 311.7 MB, free: 33.86 MB / 282.7 MB Notification: Performance of SimCode: time 1.413e-06/0.1502, allocations: 0 / 311.7 MB, free: 33.86 MB / 282.7 MB Notification: Performance of Templates: time 0.01704/0.1673, allocations: 15.43 MB / 327.1 MB, free: 25.93 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.15369459008798]