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.001816/0.001816, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 221.5 MB / 230.3 MB, free: 7.578 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.0008497/0.0008497, allocations: 91.84 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.513e-05/1.516e-05, allocations: 4 kB / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1097, allocations: 50.41 MB / 387.5 MB, free: 7.582 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3385/0.4482, allocations: 80.29 MB / 467.7 MB, free: 14.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/0.4484, allocations: 72.72 kB / 467.8 MB, free: 14.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02534/0.4738, allocations: 9.825 MB / 477.6 MB, free: 4.609 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4738, allocations: 0 / 477.6 MB, free: 4.609 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.517e-05/0.4739, allocations: 8 kB / 477.6 MB, free: 4.602 MB / 346.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.001139/0.475, allocations: 0.7343 MB / 478.4 MB, free: 3.816 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.4751, allocations: 8.25 kB / 478.4 MB, free: 3.809 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.4752, allocations: 63.25 kB / 478.4 MB, free: 3.746 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005551/0.4758, allocations: 403.8 kB / 478.8 MB, free: 3.309 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.072e-05/0.4759, allocations: 42.48 kB / 478.9 MB, free: 3.262 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.036e-05/0.4759, allocations: 20 kB / 478.9 MB, free: 3.242 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004559/0.4764, allocations: 261.4 kB / 479.2 MB, free: 2.984 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005635/0.4769, allocations: 393.7 kB / 479.5 MB, free: 2.547 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.477, allocations: 3.953 kB / 479.5 MB, free: 2.543 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.208e-05/0.477, allocations: 0 / 479.5 MB, free: 2.543 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.477, allocations: 8 kB / 479.6 MB, free: 2.535 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002009/0.479, allocations: 1.209 MB / 480.8 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004806/0.4795, allocations: 349.1 kB / 481.1 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002108/0.4798, allocations: 136.8 kB / 481.2 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.61e-05/0.4798, allocations: 11.97 kB / 481.2 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.4799, allocations: 42.56 kB / 481.3 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 1.502e-06/0.4799, allocations: 0 / 481.3 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.0007159/0.4806, allocations: 359 kB / 481.6 MB, free: 336 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001973/0.4808, allocations: 445 kB / 482.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004007/0.4812, allocations: 357.2 kB / 482.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.933e-05/0.4812, allocations: 29.7 kB / 482.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.4814, allocations: 240.6 kB / 482.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.619e-05/0.4815, allocations: 126.1 kB / 482.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.862e-05/0.4815, allocations: 0 / 482.8 MB, free: 15.03 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.4817, allocations: 359.4 kB / 483.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.4819, allocations: 96 kB / 483.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002702/0.4821, allocations: 239.1 kB / 483.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002041/0.4823, allocations: 120.4 kB / 483.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.4824, allocations: 7.953 kB / 483.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006448/0.483, allocations: 374.4 kB / 484 MB, free: 13.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.001e-05/0.4831, allocations: 33.64 kB / 484 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.4831, allocations: 4 kB / 484 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002418/0.4833, allocations: 69.56 kB / 484.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004071/0.4837, allocations: 87.92 kB / 484.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/0.4858, allocations: 2.641 MB / 486.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003681/0.4861, allocations: 51.86 kB / 486.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-05/0.4862, allocations: 12.03 kB / 486.9 MB, free: 10.65 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real 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.000209/0.4864, allocations: 117 kB / 487 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.432e-05/0.4865, allocations: 55.38 kB / 487 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.841e-05/0.4866, allocations: 49.02 kB / 487.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.4866, allocations: 4 kB / 487.1 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4866, allocations: 3.953 kB / 487.1 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005559/0.4872, allocations: 0.649 MB / 487.7 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.4884, allocations: 0.8814 MB / 488.6 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4884, allocations: 0 / 488.6 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004428/0.4888, allocations: 103.9 kB / 488.7 MB, free: 8.629 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.4888, allocations: 0 / 488.7 MB, free: 8.629 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.599e-05/0.4889, allocations: 7.953 kB / 488.7 MB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.4889, allocations: 4.078 kB / 488.7 MB, free: 8.617 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4889, allocations: 3.984 kB / 488.7 MB, free: 8.613 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006867/0.4896, allocations: 0.5307 MB / 489.3 MB, free: 8.066 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/0.4898, allocations: 164.5 kB / 489.4 MB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.892e-05/0.4898, allocations: 4 kB / 489.4 MB, free: 7.883 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002922/0.4901, allocations: 31.92 kB / 489.5 MB, free: 7.852 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.819e-05/0.4902, allocations: 19.97 kB / 489.5 MB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.4902, allocations: 11.98 kB / 489.5 MB, free: 7.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003212/0.4906, allocations: 283 kB / 489.8 MB, free: 7.547 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4906, allocations: 0 / 489.8 MB, free: 7.547 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004474/0.491, allocations: 139.7 kB / 489.9 MB, free: 7.41 MB / 362.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.0001907/0.4912, allocations: 103.2 kB / 490 MB, free: 7.297 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007706/0.492, allocations: 0.5533 MB / 490.6 MB, free: 6.711 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.492, allocations: 0 / 490.6 MB, free: 6.711 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.4922, allocations: 143.9 kB / 490.7 MB, free: 6.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005729/0.4928, allocations: 107.3 kB / 490.8 MB, free: 6.469 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.4941, allocations: 0.6255 MB / 491.4 MB, free: 5.824 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004337/0.4945, allocations: 0.8352 MB / 492.3 MB, free: 4.961 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002656/0.4948, allocations: 60.14 kB / 492.3 MB, free: 4.898 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.4949, allocations: 35.44 kB / 492.4 MB, free: 4.867 MB / 362.7 MB Notification: Performance of SimCode: time 9.51e-07/0.4949, allocations: 0 / 492.4 MB, free: 4.867 MB / 362.7 MB Notification: Performance of Templates: time 0.01198/0.5069, allocations: 6.873 MB / 499.2 MB, free: 14.12 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