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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,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=4000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001185/0.001185, allocations: 182.6 kB / 18.04 MB, free: 3.785 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 205.4 MB / 224.2 MB, free: 9.047 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008828/0.0008828, allocations: 94.02 kB / 272.5 MB, free: 8.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003751/0.0003755, allocations: 11.98 kB / 329.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2698, allocations: 47.58 MB / 377 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1049/0.3748, allocations: 83.56 MB / 460.6 MB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/0.3751, allocations: 79.95 kB / 460.7 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0397/0.4148, allocations: 14.03 MB / 474.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.4148, allocations: 0 / 474.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.43e-05/0.4149, allocations: 16 kB / 474.7 MB, free: 14.79 MB / 362.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.002577/0.4175, allocations: 0.9928 MB / 475.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.4176, allocations: 8.031 kB / 475.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003224/0.4179, allocations: 88 kB / 475.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.419, allocations: 472.6 kB / 476.2 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000205/0.4192, allocations: 105 kB / 476.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.4193, allocations: 44.38 kB / 476.4 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.4207, allocations: 0.6647 MB / 477.1 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.4208, allocations: 7.844 kB / 477.1 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.253e-05/0.4209, allocations: 20 kB / 477.1 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.4209, allocations: 12 kB / 477.1 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.422, allocations: 491.7 kB / 477.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003663/0.4257, allocations: 1.903 MB / 479.5 MB, free: 9.723 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001905/0.4276, allocations: 0.703 MB / 480.2 MB, free: 8.992 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006339/0.4283, allocations: 286.5 kB / 480.5 MB, free: 8.707 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.729e-05/0.4283, allocations: 16.53 kB / 480.5 MB, free: 8.691 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.4284, allocations: 51.06 kB / 480.5 MB, free: 8.633 MB / 362.7 MB Notification: Performance of pre-optimization done (n=56): time 2.925e-06/0.4284, allocations: 0 / 480.5 MB, free: 8.633 MB / 362.7 MB Notification: Performance of matching and sorting (n=56): time 0.005042/0.4334, allocations: 1.624 MB / 482.2 MB, free: 6.938 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002497/0.4337, allocations: 0.5684 MB / 482.7 MB, free: 6.234 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007749/0.4345, allocations: 0.5304 MB / 483.3 MB, free: 5.691 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.685e-05/0.4346, allocations: 45.7 kB / 483.3 MB, free: 5.641 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002278/0.4349, allocations: 280.5 kB / 483.6 MB, free: 5.363 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000177/0.435, allocations: 189.1 kB / 483.8 MB, free: 5.176 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.4351, allocations: 16 kB / 483.8 MB, free: 5.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.4353, allocations: 370.8 kB / 484.1 MB, free: 4.789 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005254/0.4358, allocations: 209 kB / 484.3 MB, free: 4.586 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007275/0.4365, allocations: 436.3 kB / 484.8 MB, free: 4.078 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.4376, allocations: 0.5206 MB / 485.3 MB, free: 3.535 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.4377, allocations: 3.938 kB / 485.3 MB, free: 3.531 MB / 362.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002316/0.44, allocations: 0.8615 MB / 486.1 MB, free: 2.648 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.555e-05/0.44, allocations: 37.7 kB / 486.2 MB, free: 2.605 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.4401, allocations: 4.031 kB / 486.2 MB, free: 2.602 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009119/0.441, allocations: 226.4 kB / 486.4 MB, free: 2.371 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007392/0.4417, allocations: 135.8 kB / 486.5 MB, free: 2.238 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007001/0.4488, allocations: 5.176 MB / 491.7 MB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007841/0.4496, allocations: 83.55 kB / 491.8 MB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.623e-05/0.4497, allocations: 27.92 kB / 491.8 MB, free: 12.55 MB / 378.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 (49): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {5 2,1 1,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0005022/0.4502, allocations: 190.7 kB / 492 MB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/0.4504, allocations: 75.16 kB / 492.1 MB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002357/0.4528, allocations: 0.8398 MB / 492.9 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.4528, allocations: 4 kB / 492.9 MB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.4528, allocations: 3.938 kB / 492.9 MB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002149/0.455, allocations: 1.093 MB / 494 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003601/0.4586, allocations: 1.584 MB / 495.6 MB, free: 8.559 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.4586, allocations: 0 / 495.6 MB, free: 8.559 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000788/0.4594, allocations: 139.8 kB / 495.7 MB, free: 8.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007707/0.4602, allocations: 185.5 kB / 495.9 MB, free: 8.234 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.216e-05/0.4603, allocations: 15.98 kB / 495.9 MB, free: 8.219 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005048/0.4653, allocations: 3.537 MB / 499.5 MB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.4653, allocations: 8.016 kB / 499.5 MB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002947/0.4683, allocations: 1.152 MB / 0.4889 GB, free: 3.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00046/0.4688, allocations: 204.3 kB / 0.4891 GB, free: 3.012 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001616/0.469, allocations: 12 kB / 0.4891 GB, free: 3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000502/0.4695, allocations: 47.95 kB / 0.4892 GB, free: 2.953 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/0.4696, allocations: 52.42 kB / 0.4892 GB, free: 2.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.935e-05/0.4697, allocations: 12 kB / 0.4892 GB, free: 2.891 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005755/0.4703, allocations: 386.8 kB / 0.4896 GB, free: 2.516 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.763e-06/0.4703, allocations: 0 / 0.4896 GB, free: 2.516 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009139/0.4712, allocations: 235.6 kB / 0.4898 GB, free: 2.285 MB / 378.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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002513/0.4715, allocations: 126.9 kB / 0.4899 GB, free: 2.148 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002195/0.4737, allocations: 1.023 MB / 0.4909 GB, free: 1.074 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.4737, allocations: 4 kB / 0.4909 GB, free: 1.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.4749, allocations: 0.5553 MB / 0.4915 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/0.4764, allocations: 166.5 kB / 0.4916 GB, free: 340 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1831/0.6595, allocations: 1.556 MB / 0.4932 GB, free: 107 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/0.66, allocations: 0.8864 MB / 0.494 GB, free: 106.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005445/0.6605, allocations: 78.19 kB / 0.4941 GB, free: 106.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.6607, allocations: 52.41 kB / 0.4941 GB, free: 106.3 MB / 378.7 MB Notification: Performance of SimCode: time 9.12e-07/0.6607, allocations: 2.844 kB / 0.4942 GB, free: 106.3 MB / 378.7 MB Notification: Performance of Templates: time 0.02135/0.6821, allocations: 12.8 MB / 0.5067 GB, free: 103.9 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches