Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001493/0.001493, allocations: 77.88 kB / 21.42 MB, free: 3.078 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.001587/0.001587, allocations: 169.1 kB / 24.82 MB, free: 9.25 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9808/0.9808, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 273.4 MB, free: 1.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.346e-05/2.507e-05, allocations: 2.312 kB / 273.4 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.004329/0.004354, allocations: 4.329 MB / 277.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002282/0.006636, allocations: 1.219 MB / 278.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003365/0.006973, allocations: 11.94 kB / 278.9 MB, free: 11.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003595/0.007332, allocations: 134.8 kB / 279.1 MB, free: 11.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005622/0.007895, allocations: 285.5 kB / 279.4 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004498/0.008344, allocations: 199.5 kB / 279.5 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009342/0.009279, allocations: 0.9644 MB / 280.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002868/0.009565, allocations: 165 kB / 280.7 MB, free: 9.945 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008607/0.01043, allocations: 0.5535 MB / 281.2 MB, free: 9.391 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004447/0.01087, allocations: 291.2 kB / 281.5 MB, free: 9.105 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.01098, allocations: 76 kB / 281.6 MB, free: 9.031 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.01112, allocations: 83.98 kB / 281.7 MB, free: 8.949 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.01123, allocations: 171.4 kB / 281.8 MB, free: 8.781 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002459/0.01147, allocations: 299.3 kB / 282.1 MB, free: 8.488 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007056/0.01218, allocations: 0.611 MB / 282.7 MB, free: 7.875 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.01218, allocations: 4 kB / 282.7 MB, free: 7.871 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.01218, allocations: 0 / 282.7 MB, free: 7.871 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.0122, allocations: 0 / 282.7 MB, free: 7.871 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.001373/0.01357, allocations: 1.149 MB / 283.9 MB, free: 6.672 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.01361, allocations: 16.03 kB / 283.9 MB, free: 6.656 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002319/0.01385, allocations: 128.4 kB / 284 MB, free: 6.531 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005166/0.01436, allocations: 408.3 kB / 284.4 MB, free: 6.102 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001564/0.01452, allocations: 144.4 kB / 284.6 MB, free: 5.934 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.004e-05/0.01459, allocations: 56.38 kB / 284.6 MB, free: 5.879 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008307/0.01542, allocations: 1.059 MB / 285.7 MB, free: 4.598 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.01544, allocations: 4 kB / 285.7 MB, free: 4.594 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.533e-05/0.01548, allocations: 24 kB / 285.7 MB, free: 4.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.01549, allocations: 8 kB / 285.7 MB, free: 4.562 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002882/0.01577, allocations: 186.8 kB / 285.9 MB, free: 4.379 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001933/0.01771, allocations: 1.412 MB / 287.3 MB, free: 2.918 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007535/0.01846, allocations: 375.6 kB / 287.7 MB, free: 2.539 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.01861, allocations: 125 kB / 287.8 MB, free: 2.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.039e-05/0.01865, allocations: 12.5 kB / 287.8 MB, free: 2.398 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.01868, allocations: 45.89 kB / 287.9 MB, free: 2.344 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 3.217e-06/0.01868, allocations: 0 / 287.9 MB, free: 2.344 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.001903/0.02058, allocations: 0.866 MB / 288.7 MB, free: 1.457 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002035/0.02079, allocations: 0.5644 MB / 289.3 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000351/0.02114, allocations: 0.4985 MB / 289.8 MB, free: 248 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.922e-05/0.02118, allocations: 41.7 kB / 289.8 MB, free: 200 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.02138, allocations: 364.2 kB / 290.2 MB, free: 15.83 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.02148, allocations: 194.3 kB / 290.4 MB, free: 15.64 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003554/0.02184, allocations: 112 kB / 290.5 MB, free: 15.52 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.02202, allocations: 0.5507 MB / 291 MB, free: 14.96 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.02216, allocations: 98.95 kB / 291.1 MB, free: 14.86 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004298/0.02259, allocations: 0.8947 MB / 292 MB, free: 13.71 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000278/0.02287, allocations: 266 kB / 292.3 MB, free: 13.43 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.02287, allocations: 0 / 292.3 MB, free: 13.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0008287/0.0237, allocations: 0.5734 MB / 292.9 MB, free: 12.82 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.016e-05/0.02374, allocations: 33.69 kB / 292.9 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.02375, allocations: 12.05 kB / 292.9 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006136/0.02437, allocations: 206.8 kB / 293.1 MB, free: 12.56 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003367/0.0247, allocations: 111.9 kB / 293.2 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003912/0.02861, allocations: 6.116 MB / 299.3 MB, free: 5.992 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003407/0.02895, allocations: 63.77 kB / 299.4 MB, free: 5.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.02898, allocations: 19.92 kB / 299.4 MB, free: 5.91 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.0001869/0.02917, allocations: 192.5 kB / 299.6 MB, free: 5.711 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.979e-05/0.02926, allocations: 91.56 kB / 299.7 MB, free: 5.621 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008106/0.03007, allocations: 0.4987 MB / 300.2 MB, free: 5.105 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.03007, allocations: 8 kB / 300.2 MB, free: 5.098 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.03007, allocations: 0 / 300.2 MB, free: 5.098 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008319/0.0309, allocations: 0.785 MB / 301 MB, free: 4.199 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/0.03224, allocations: 1.014 MB / 302 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.03225, allocations: 4.062 kB / 302 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003108/0.03256, allocations: 119.9 kB / 302.1 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004788/0.03304, allocations: 171.2 kB / 302.3 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.03306, allocations: 11.94 kB / 302.3 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1302/0.1632, allocations: 4.126 MB / 306.4 MB, free: 36.65 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1632, allocations: 0 / 306.4 MB, free: 36.65 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.1645, allocations: 0.7098 MB / 307.1 MB, free: 36.45 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000214/0.1647, allocations: 128.1 kB / 307.3 MB, free: 36.45 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.988e-05/0.1647, allocations: 14.84 kB / 307.3 MB, free: 36.45 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.1649, allocations: 30.97 kB / 307.3 MB, free: 36.45 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.948e-05/0.165, allocations: 51.58 kB / 307.4 MB, free: 36.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.1651, allocations: 12.73 kB / 307.4 MB, free: 36.45 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002099/0.1653, allocations: 325.7 kB / 307.7 MB, free: 36.31 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1653, allocations: 1.312 kB / 307.7 MB, free: 36.31 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005464/0.1658, allocations: 225.6 kB / 307.9 MB, free: 36.31 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.0001051/0.1659, allocations: 114.8 kB / 308 MB, free: 36.23 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009474/0.1669, allocations: 0.9815 MB / 309 MB, free: 35.59 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1669, allocations: 4.969 kB / 309 MB, free: 35.59 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003408/0.1672, allocations: 0.5374 MB / 309.5 MB, free: 35.23 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004954/0.1677, allocations: 184.6 kB / 309.7 MB, free: 35.22 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.1693, allocations: 1.139 MB / 310.9 MB, free: 34.72 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.1694, allocations: 145.2 kB / 311 MB, free: 34.64 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002097/0.1696, allocations: 75.2 kB / 311.1 MB, free: 34.62 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004874/0.1701, allocations: 336.7 kB / 311.4 MB, free: 34.56 MB / 282.7 MB Notification: Performance of SimCode: time 1.232e-06/0.1701, allocations: 0 / 311.4 MB, free: 34.56 MB / 282.7 MB Notification: Performance of Templates: time 0.01657/0.1867, allocations: 15.65 MB / 327.1 MB, free: 26.68 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.046948306262493]