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.0009301/0.0009301, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.0009105/0.0009105, allocations: 165.1 kB / 24.91 MB, free: 9.184 MB / 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.9202/0.9202, allocations: 177 MB / 205.2 MB, free: 5.441 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.203e-06/1.203e-06, allocations: 0 / 273.4 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.738e-05/1.859e-05, allocations: 6.25 kB / 273.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.003814/0.003833, allocations: 4.339 MB / 277.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002067/0.0059, allocations: 1.265 MB / 279 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002951/0.006195, allocations: 15.88 kB / 279 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.006512, allocations: 138.8 kB / 279.1 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004742/0.006987, allocations: 285.5 kB / 279.4 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004037/0.00739, allocations: 195.6 kB / 279.6 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008259/0.008216, allocations: 0.9721 MB / 280.6 MB, free: 9.984 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002318/0.008448, allocations: 170.9 kB / 280.7 MB, free: 9.809 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005889/0.009037, allocations: 0.5457 MB / 281.3 MB, free: 9.262 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003332/0.00937, allocations: 299.1 kB / 281.6 MB, free: 8.969 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.284e-05/0.009453, allocations: 76 kB / 281.6 MB, free: 8.895 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.009561, allocations: 80 kB / 281.7 MB, free: 8.816 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.494e-05/0.009656, allocations: 167.4 kB / 281.9 MB, free: 8.652 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000209/0.009865, allocations: 295.3 kB / 282.2 MB, free: 8.363 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005591/0.01042, allocations: 0.615 MB / 282.8 MB, free: 7.746 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.01043, allocations: 4 kB / 282.8 MB, free: 7.742 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.01043, allocations: 0 / 282.8 MB, free: 7.742 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.01044, allocations: 3.938 kB / 282.8 MB, free: 7.738 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.001145/0.01159, allocations: 0.9968 MB / 283.8 MB, free: 6.703 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.01162, allocations: 11.98 kB / 283.8 MB, free: 6.691 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.0118, allocations: 108.8 kB / 283.9 MB, free: 6.586 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/0.01218, allocations: 325.6 kB / 284.2 MB, free: 6.242 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.01231, allocations: 148.4 kB / 284.4 MB, free: 6.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.925e-05/0.01236, allocations: 60.38 kB / 284.4 MB, free: 6.012 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006254/0.01299, allocations: 1.006 MB / 285.4 MB, free: 4.805 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.013, allocations: 4 kB / 285.4 MB, free: 4.801 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.502e-05/0.01304, allocations: 20 kB / 285.5 MB, free: 4.781 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.01305, allocations: 12 kB / 285.5 MB, free: 4.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002296/0.01328, allocations: 154.8 kB / 285.6 MB, free: 4.621 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.0147, allocations: 1.055 MB / 286.7 MB, free: 3.531 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006385/0.01534, allocations: 337.5 kB / 287 MB, free: 3.191 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.01546, allocations: 102.3 kB / 287.1 MB, free: 3.086 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.01549, allocations: 16.42 kB / 287.1 MB, free: 3.07 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.01552, allocations: 47.06 kB / 287.2 MB, free: 3.016 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 1.934e-06/0.01552, allocations: 0 / 287.2 MB, free: 3.016 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.001602/0.01712, allocations: 0.7653 MB / 287.9 MB, free: 2.234 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001655/0.01729, allocations: 0.5722 MB / 288.5 MB, free: 1.527 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.01755, allocations: 423.2 kB / 288.9 MB, free: 1.102 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.01758, allocations: 41.69 kB / 289 MB, free: 1.055 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.744e-05/0.01768, allocations: 219 kB / 289.2 MB, free: 0.832 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.628e-05/0.01778, allocations: 206.2 kB / 289.4 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.01788, allocations: 106.3 kB / 289.5 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.01798, allocations: 370.7 kB / 289.8 MB, free: 152 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.01809, allocations: 86.98 kB / 289.9 MB, free: 56 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003446/0.01843, allocations: 0.819 MB / 290.8 MB, free: 15.02 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002353/0.01867, allocations: 247.8 kB / 291 MB, free: 14.76 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.01867, allocations: 0 / 291 MB, free: 14.76 MB / 282.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0006614/0.01933, allocations: 488 kB / 291.5 MB, free: 14.26 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.119e-05/0.01936, allocations: 32.98 kB / 291.5 MB, free: 14.22 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.01937, allocations: 11.94 kB / 291.5 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005307/0.0199, allocations: 186.4 kB / 291.7 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002864/0.02019, allocations: 115.8 kB / 291.8 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002958/0.02314, allocations: 4.263 MB / 296.1 MB, free: 9.383 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/0.0234, allocations: 55.66 kB / 296.1 MB, free: 9.328 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.02343, allocations: 23.98 kB / 296.1 MB, free: 9.305 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.0001411/0.02357, allocations: 149.7 kB / 296.3 MB, free: 9.148 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.824e-05/0.02364, allocations: 63.88 kB / 296.4 MB, free: 9.086 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006504/0.02429, allocations: 431.3 kB / 296.8 MB, free: 8.645 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.02429, allocations: 8 kB / 296.8 MB, free: 8.637 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.02429, allocations: 0 / 296.8 MB, free: 8.637 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006263/0.02492, allocations: 0.7257 MB / 297.5 MB, free: 7.801 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.02599, allocations: 0.8067 MB / 298.3 MB, free: 6.957 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.02599, allocations: 0 / 298.3 MB, free: 6.957 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000304/0.02629, allocations: 115.9 kB / 298.4 MB, free: 6.844 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004479/0.02674, allocations: 165.5 kB / 298.6 MB, free: 6.676 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.02676, allocations: 8 kB / 298.6 MB, free: 6.668 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001865/0.02863, allocations: 2.875 MB / 301.5 MB, free: 3.621 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.02863, allocations: 0 / 301.5 MB, free: 3.621 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007595/0.02939, allocations: 0.5782 MB / 302.1 MB, free: 3.02 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.02952, allocations: 71.48 kB / 302.1 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.78e-05/0.02957, allocations: 15.98 kB / 302.1 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.02976, allocations: 27.98 kB / 302.2 MB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.345e-05/0.02984, allocations: 56.34 kB / 302.2 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.02986, allocations: 8 kB / 302.2 MB, free: 2.844 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001387/0.03, allocations: 200.4 kB / 302.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03, allocations: 0 / 302.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004642/0.03046, allocations: 219.8 kB / 302.6 MB, free: 2.434 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.0001172/0.03058, allocations: 104.3 kB / 302.7 MB, free: 2.32 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008039/0.03138, allocations: 0.7862 MB / 303.5 MB, free: 1.473 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/0.03139, allocations: 8 kB / 303.5 MB, free: 1.465 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003478/0.03174, allocations: 433.7 kB / 304 MB, free: 1.016 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004268/0.03217, allocations: 186.6 kB / 304.1 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1007/0.1329, allocations: 1.106 MB / 305.2 MB, free: 38.41 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/0.133, allocations: 143.1 kB / 305.4 MB, free: 38.33 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000344/0.1333, allocations: 77.84 kB / 305.5 MB, free: 38.32 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005204/0.1339, allocations: 287.5 kB / 305.7 MB, free: 38.29 MB / 282.7 MB Notification: Performance of SimCode: time 1.302e-06/0.1339, allocations: 0 / 305.7 MB, free: 38.29 MB / 282.7 MB Notification: Performance of Templates: time 0.02151/0.1554, allocations: 15.47 MB / 321.2 MB, free: 32.94 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.0152155701071024]