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.001847/0.001847, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.001142/0.001142, allocations: 147.1 kB / 24.89 MB, free: 8.742 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 1.001/1.001, allocations: 173.4 MB / 201.5 MB, free: 8.742 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.282e-06/1.282e-06, allocations: 0 / 268.4 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.201e-05, allocations: 6.25 kB / 268.5 MB, free: 6.051 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.003711/0.003733, allocations: 4.324 MB / 272.8 MB, free: 1.707 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.005287, allocations: 1.238 MB / 274 MB, free: 472 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001884/0.005475, allocations: 11.94 kB / 274 MB, free: 460 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002811/0.005757, allocations: 138.8 kB / 274.2 MB, free: 320 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003779/0.006134, allocations: 289.4 kB / 274.4 MB, free: 28 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.006425, allocations: 195.5 kB / 274.6 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006494/0.007075, allocations: 0.9679 MB / 275.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00021/0.007285, allocations: 171 kB / 275.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004554/0.00774, allocations: 0.534 MB / 276.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.008024, allocations: 303.1 kB / 276.6 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.692e-05/0.008101, allocations: 76 kB / 276.7 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.567e-05/0.008177, allocations: 79.94 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.874e-05/0.008276, allocations: 171.4 kB / 276.9 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002025/0.008478, allocations: 303.3 kB / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004745/0.008953, allocations: 0.5994 MB / 277.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.008956, allocations: 4 kB / 277.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.008956, allocations: 4 kB / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.008964, allocations: 0 / 277.8 MB, free: 12.62 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.001027/0.009991, allocations: 0.9968 MB / 278.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.01003, allocations: 8.922 kB / 278.8 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.01013, allocations: 100.8 kB / 278.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003583/0.01049, allocations: 329.6 kB / 279.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.01061, allocations: 152.3 kB / 279.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.007e-05/0.01067, allocations: 56.38 kB / 279.5 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005864/0.01125, allocations: 1.014 MB / 280.5 MB, free: 9.691 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.01126, allocations: 4 kB / 280.5 MB, free: 9.688 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.173e-05/0.0113, allocations: 20 kB / 280.5 MB, free: 9.668 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.0113, allocations: 12 kB / 280.5 MB, free: 9.656 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002097/0.01151, allocations: 150.9 kB / 280.7 MB, free: 9.512 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.01287, allocations: 1.047 MB / 281.7 MB, free: 8.426 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006531/0.01352, allocations: 345.4 kB / 282 MB, free: 8.078 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.01364, allocations: 105.3 kB / 282.1 MB, free: 7.973 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.01367, allocations: 8.5 kB / 282.1 MB, free: 7.965 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.0137, allocations: 51.05 kB / 282.2 MB, free: 7.906 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 1.833e-06/0.0137, allocations: 0 / 282.2 MB, free: 7.906 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.001644/0.01534, allocations: 0.7497 MB / 282.9 MB, free: 7.141 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001693/0.01551, allocations: 0.5722 MB / 283.5 MB, free: 6.434 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.01577, allocations: 431.2 kB / 283.9 MB, free: 6 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.01581, allocations: 37.7 kB / 284 MB, free: 5.957 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.01591, allocations: 222.9 kB / 284.2 MB, free: 5.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.292e-05/0.016, allocations: 198.3 kB / 284.4 MB, free: 5.535 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.01611, allocations: 118.2 kB / 284.5 MB, free: 5.414 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.487e-05/0.01621, allocations: 370.7 kB / 284.9 MB, free: 5.043 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.01631, allocations: 90.98 kB / 285 MB, free: 4.945 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003197/0.01663, allocations: 0.8112 MB / 285.8 MB, free: 3.922 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002321/0.01686, allocations: 243.8 kB / 286 MB, free: 3.664 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.01686, allocations: 0 / 286 MB, free: 3.664 MB / 266.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0006653/0.01753, allocations: 492 kB / 286.5 MB, free: 3.152 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.93e-05/0.01756, allocations: 29.7 kB / 286.5 MB, free: 3.117 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.01757, allocations: 4.062 kB / 286.5 MB, free: 3.113 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005339/0.0181, allocations: 190.3 kB / 286.7 MB, free: 2.918 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/0.01839, allocations: 115.8 kB / 286.8 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1304/0.1488, allocations: 4.261 MB / 291.1 MB, free: 27.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005148/0.1493, allocations: 60.05 kB / 291.1 MB, free: 27.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.881e-05/0.1494, allocations: 13.59 kB / 291.1 MB, free: 27.61 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.000242/0.1496, allocations: 158.6 kB / 291.3 MB, free: 27.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.1497, allocations: 59.69 kB / 291.4 MB, free: 27.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008563/0.1506, allocations: 435.7 kB / 291.8 MB, free: 27.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.1506, allocations: 5.828 kB / 291.8 MB, free: 27.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.1506, allocations: 0.9062 kB / 291.8 MB, free: 27.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006652/0.1513, allocations: 0.716 MB / 292.5 MB, free: 26.87 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/0.1527, allocations: 0.8072 MB / 293.3 MB, free: 26.63 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.1527, allocations: 0 / 293.3 MB, free: 26.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00038/0.153, allocations: 120.9 kB / 293.4 MB, free: 26.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005898/0.1536, allocations: 162.6 kB / 293.6 MB, free: 26.61 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.858e-05/0.1537, allocations: 12.52 kB / 293.6 MB, free: 26.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002245/0.1559, allocations: 2.876 MB / 296.5 MB, free: 24.22 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.1559, allocations: 1.797 kB / 296.5 MB, free: 24.22 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.157, allocations: 0.5698 MB / 297.1 MB, free: 24.05 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002102/0.1572, allocations: 77.98 kB / 297.1 MB, free: 24.05 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.693e-05/0.1573, allocations: 12.53 kB / 297.1 MB, free: 24.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.1575, allocations: 27.27 kB / 297.2 MB, free: 24.05 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.1577, allocations: 54.11 kB / 297.2 MB, free: 24.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.1577, allocations: 14.7 kB / 297.2 MB, free: 24.05 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002922/0.158, allocations: 197.8 kB / 297.4 MB, free: 24.03 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.158, allocations: 0 / 297.4 MB, free: 24.03 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007999/0.1588, allocations: 223.7 kB / 297.6 MB, free: 24.02 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.0001722/0.159, allocations: 97.94 kB / 297.7 MB, free: 23.95 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001178/0.1601, allocations: 0.7957 MB / 298.5 MB, free: 23.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.802e-05/0.1602, allocations: 6.375 kB / 298.5 MB, free: 23.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000503/0.1607, allocations: 425 kB / 299 MB, free: 23.23 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006445/0.1613, allocations: 183.5 kB / 299.1 MB, free: 23.22 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/0.1637, allocations: 1.106 MB / 300.2 MB, free: 22.69 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.1639, allocations: 143.6 kB / 300.4 MB, free: 22.61 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003678/0.1643, allocations: 78.55 kB / 300.5 MB, free: 22.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006076/0.1649, allocations: 297.7 kB / 300.8 MB, free: 22.54 MB / 266.7 MB Notification: Performance of SimCode: time 2.976e-06/0.1649, allocations: 1.438 kB / 300.8 MB, free: 22.54 MB / 266.7 MB Notification: Performance of Templates: time 0.02455/0.1895, allocations: 15.46 MB / 316.2 MB, free: 12.3 MB / 266.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.0783561849966645]