Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 221.3 MB / 235.5 MB, free: 2.887 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008293/0.0008292, allocations: 80.12 kB / 286.5 MB, free: 180 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.269e-05/2.271e-05, allocations: 4 kB / 343.8 MB, free: 4.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1008, allocations: 50.42 MB / 394.2 MB, free: 1.859 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3012/0.4021, allocations: 80.95 MB / 475.2 MB, free: 6.594 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.4024, allocations: 71.8 kB / 475.3 MB, free: 6.527 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02491/0.4273, allocations: 9.937 MB / 485.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4274, allocations: 0 / 485.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.855e-05/0.4274, allocations: 19.94 kB / 485.2 MB, free: 12.5 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001073/0.4285, allocations: 0.7265 MB / 485.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.4285, allocations: 12.25 kB / 486 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.4286, allocations: 67.25 kB / 486 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005179/0.4292, allocations: 397.6 kB / 486.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-05/0.4293, allocations: 58.48 kB / 486.5 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.677e-05/0.4293, allocations: 28 kB / 486.5 MB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006026/0.43, allocations: 443.3 kB / 486.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.43, allocations: 3.938 kB / 486.9 MB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.987e-05/0.43, allocations: 23.95 kB / 486.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.43, allocations: 8 kB / 487 MB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004641/0.4305, allocations: 275.1 kB / 487.2 MB, free: 10.33 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00191/0.4324, allocations: 1.28 MB / 488.5 MB, free: 8.973 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004666/0.4329, allocations: 367.7 kB / 488.9 MB, free: 8.586 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/0.4331, allocations: 148.9 kB / 489 MB, free: 8.438 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.451e-05/0.4332, allocations: 12 kB / 489 MB, free: 8.426 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.4332, allocations: 42.61 kB / 489.1 MB, free: 8.375 MB / 362.7 MB Notification: Performance of pre-optimization done (n=36): time 1.673e-06/0.4332, allocations: 0 / 489.1 MB, free: 8.375 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.0007011/0.4339, allocations: 375 kB / 489.4 MB, free: 7.996 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001434/0.4341, allocations: 445 kB / 489.9 MB, free: 7.457 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000429/0.4345, allocations: 395.2 kB / 490.3 MB, free: 7.062 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.4346, allocations: 37.7 kB / 490.3 MB, free: 7.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.4347, allocations: 244.4 kB / 490.5 MB, free: 6.777 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.393e-05/0.4348, allocations: 126.2 kB / 490.6 MB, free: 6.652 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.727e-05/0.4348, allocations: 4 kB / 490.7 MB, free: 6.648 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.435, allocations: 367.4 kB / 491 MB, free: 6.281 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.4351, allocations: 107.9 kB / 491.1 MB, free: 6.176 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000279/0.4354, allocations: 251.8 kB / 491.4 MB, free: 5.879 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/0.4356, allocations: 154.1 kB / 491.5 MB, free: 5.723 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4357, allocations: 4 kB / 491.5 MB, free: 5.719 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006651/0.4363, allocations: 435.8 kB / 491.9 MB, free: 5.273 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.357e-05/0.4364, allocations: 41.59 kB / 492 MB, free: 5.227 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.4364, allocations: 0 / 492 MB, free: 5.227 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002315/0.4366, allocations: 61.66 kB / 492 MB, free: 5.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003993/0.437, allocations: 87.94 kB / 492.1 MB, free: 5.074 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002009/0.439, allocations: 2.744 MB / 494.9 MB, free: 2.059 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003789/0.4394, allocations: 59.7 kB / 494.9 MB, free: 2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/0.4395, allocations: 11.98 kB / 494.9 MB, free: 1.988 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 35 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.4396, allocations: 132.9 kB / 495.1 MB, free: 1.852 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.02e-05/0.4397, allocations: 59.3 kB / 495.1 MB, free: 1.793 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.4398, allocations: 52.89 kB / 495.2 MB, free: 1.742 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.4398, allocations: 4 kB / 495.2 MB, free: 1.738 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.4398, allocations: 7.922 kB / 495.2 MB, free: 1.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006038/0.4404, allocations: 0.6685 MB / 495.9 MB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.4417, allocations: 0.9667 MB / 496.8 MB, free: 15.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.4417, allocations: 0 / 496.8 MB, free: 15.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004381/0.4422, allocations: 91.88 kB / 496.9 MB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.4422, allocations: 0 / 496.9 MB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.4422, allocations: 8 kB / 496.9 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.4422, allocations: 0 / 496.9 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.4422, allocations: 11.92 kB / 496.9 MB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007583/0.443, allocations: 0.5611 MB / 497.5 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001892/0.4432, allocations: 164.4 kB / 497.7 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.592e-05/0.4433, allocations: 12 kB / 497.7 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003037/0.4436, allocations: 31.98 kB / 497.7 MB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.452e-05/0.4437, allocations: 28.02 kB / 497.7 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.4437, allocations: 12 kB / 497.7 MB, free: 14.97 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003836/0.4441, allocations: 313.2 kB / 498 MB, free: 14.67 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4441, allocations: 0 / 498 MB, free: 14.67 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004948/0.4446, allocations: 151.8 kB / 498.2 MB, free: 14.52 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 36 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002228/0.4448, allocations: 119 kB / 498.3 MB, free: 14.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009658/0.4458, allocations: 0.5789 MB / 498.9 MB, free: 13.78 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.4458, allocations: 0 / 498.9 MB, free: 13.78 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002442/0.4461, allocations: 151.8 kB / 499 MB, free: 13.63 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006983/0.4468, allocations: 128.2 kB / 499.2 MB, free: 13.51 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.448, allocations: 0.6411 MB / 499.8 MB, free: 12.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.4484, allocations: 0.8438 MB / 0.4889 GB, free: 11.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002293/0.4486, allocations: 56.36 kB / 0.489 GB, free: 11.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.4488, allocations: 43.42 kB / 0.489 GB, free: 11.88 MB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.4488, allocations: 0 / 0.489 GB, free: 11.88 MB / 378.7 MB Notification: Performance of Templates: time 0.01315/0.4619, allocations: 7.834 MB / 0.4967 GB, free: 4.172 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches