Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001477/0.001477, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.41/1.41, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008198/0.00082, allocations: 74.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.267e-05/2.271e-05, allocations: 0 / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08949/0.08953, allocations: 47.57 MB / 370 MB, free: 1.723 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3158/0.4053, allocations: 81.57 MB / 451.6 MB, free: 11.7 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/0.4056, allocations: 67.44 kB / 451.6 MB, free: 11.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02631/0.4319, allocations: 10.07 MB / 461.7 MB, free: 3.098 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.432, allocations: 0 / 461.7 MB, free: 3.098 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.903e-05/0.432, allocations: 8 kB / 461.7 MB, free: 3.09 MB / 330.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.001153/0.4332, allocations: 0.7421 MB / 462.5 MB, free: 2.297 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.4332, allocations: 8.031 kB / 462.5 MB, free: 2.289 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.4334, allocations: 63.34 kB / 462.5 MB, free: 2.227 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005619/0.4339, allocations: 381.8 kB / 462.9 MB, free: 1.812 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.434, allocations: 66.77 kB / 463 MB, free: 1.742 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.647e-05/0.4341, allocations: 28 kB / 463 MB, free: 1.715 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006658/0.4348, allocations: 450.8 kB / 463.4 MB, free: 1.215 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.4348, allocations: 4 kB / 463.5 MB, free: 1.211 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.129e-05/0.4349, allocations: 16 kB / 463.5 MB, free: 1.195 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.4349, allocations: 8 kB / 463.5 MB, free: 1.188 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004806/0.4354, allocations: 271 kB / 463.7 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002072/0.4374, allocations: 1.289 MB / 465 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005042/0.438, allocations: 367.8 kB / 465.4 MB, free: 15.17 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.4382, allocations: 156.7 kB / 465.5 MB, free: 15.01 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.145e-05/0.4383, allocations: 4 kB / 465.5 MB, free: 15.01 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.4383, allocations: 38.56 kB / 465.6 MB, free: 14.96 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 1.743e-06/0.4383, allocations: 0 / 465.6 MB, free: 14.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.0007986/0.4391, allocations: 379 kB / 466 MB, free: 14.58 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002298/0.4393, allocations: 456.9 kB / 466.4 MB, free: 14.03 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004646/0.4398, allocations: 391.2 kB / 466.8 MB, free: 13.64 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.351e-05/0.4399, allocations: 37.7 kB / 466.8 MB, free: 13.6 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.44, allocations: 244.4 kB / 467.1 MB, free: 13.36 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.4402, allocations: 122.1 kB / 467.2 MB, free: 13.23 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.4402, allocations: 12 kB / 467.2 MB, free: 13.22 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.4404, allocations: 358.8 kB / 467.5 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000187/0.4405, allocations: 100 kB / 467.6 MB, free: 12.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003082/0.4409, allocations: 258.8 kB / 467.9 MB, free: 12.46 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/0.4411, allocations: 156 kB / 468 MB, free: 12.3 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.4411, allocations: 0 / 468 MB, free: 12.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007217/0.4418, allocations: 444.4 kB / 468.5 MB, free: 11.85 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.755e-05/0.4419, allocations: 29.7 kB / 468.5 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.4419, allocations: 0 / 468.5 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002452/0.4422, allocations: 65.7 kB / 468.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004286/0.4426, allocations: 91.88 kB / 468.7 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002245/0.4449, allocations: 2.744 MB / 471.4 MB, free: 8.641 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003688/0.4453, allocations: 64.27 kB / 471.5 MB, free: 8.578 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.203e-05/0.4453, allocations: 8 kB / 471.5 MB, free: 8.57 MB / 346.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.00013/0.4454, allocations: 136.9 kB / 471.6 MB, free: 8.43 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.4456, allocations: 51.44 kB / 471.7 MB, free: 8.379 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.4457, allocations: 57.11 kB / 471.7 MB, free: 8.324 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.4457, allocations: 4 kB / 471.7 MB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.4457, allocations: 7.922 kB / 471.7 MB, free: 8.312 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006121/0.4463, allocations: 0.6648 MB / 472.4 MB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.4477, allocations: 0.9782 MB / 473.4 MB, free: 6.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4477, allocations: 0 / 473.4 MB, free: 6.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004517/0.4481, allocations: 91.88 kB / 473.5 MB, free: 6.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.4482, allocations: 0 / 473.5 MB, free: 6.41 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.4482, allocations: 8 kB / 473.5 MB, free: 6.402 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.4482, allocations: 0 / 473.5 MB, free: 6.402 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4482, allocations: 0 / 473.5 MB, free: 6.402 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007586/0.449, allocations: 0.5689 MB / 474 MB, free: 5.816 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001855/0.4492, allocations: 168.4 kB / 474.2 MB, free: 5.633 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.655e-05/0.4492, allocations: 8 kB / 474.2 MB, free: 5.625 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/0.4495, allocations: 31.97 kB / 474.2 MB, free: 5.594 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.309e-05/0.4496, allocations: 31.89 kB / 474.3 MB, free: 5.562 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.69e-05/0.4497, allocations: 15.98 kB / 474.3 MB, free: 5.547 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003462/0.45, allocations: 317.2 kB / 474.6 MB, free: 5.238 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.45, allocations: 0 / 474.6 MB, free: 5.238 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004101/0.4504, allocations: 139.8 kB / 474.7 MB, free: 5.102 MB / 346.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.0002087/0.4506, allocations: 123.1 kB / 474.8 MB, free: 4.969 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008974/0.4516, allocations: 0.5713 MB / 475.4 MB, free: 4.359 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.4516, allocations: 0 / 475.4 MB, free: 4.359 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000325/0.4519, allocations: 155.6 kB / 475.6 MB, free: 4.207 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008251/0.4527, allocations: 124.7 kB / 475.7 MB, free: 4.09 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.4541, allocations: 0.649 MB / 476.3 MB, free: 3.418 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/0.4545, allocations: 0.8355 MB / 477.2 MB, free: 2.551 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002618/0.4548, allocations: 60.34 kB / 477.2 MB, free: 2.492 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.4549, allocations: 39.44 kB / 477.3 MB, free: 2.457 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4549, allocations: 0 / 477.3 MB, free: 2.457 MB / 346.7 MB Notification: Performance of Templates: time 0.01359/0.4685, allocations: 7.863 MB / 485.1 MB, free: 10.59 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches