Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001645/0.001645, allocations: 178.4 kB / 8.475 MB, free: 1.863 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.276/1.276, allocations: 205.2 MB / 214.1 MB, free: 5.152 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00094/0.00094, allocations: 94.23 kB / 262.1 MB, free: 5.191 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.731e-06/5.771e-06, allocations: 4 kB / 315 MB, free: 41.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07768/0.0777, allocations: 47.57 MB / 362.5 MB, free: 9.969 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2532/0.331, allocations: 80.12 MB / 442.7 MB, free: 10.69 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/0.3312, allocations: 65.73 kB / 442.7 MB, free: 10.69 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02175/0.353, allocations: 9.227 MB / 452 MB, free: 8.289 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.379e-05/0.353, allocations: 11.5 kB / 452 MB, free: 8.289 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.0008204/0.3539, allocations: 0.689 MB / 452.7 MB, free: 7.727 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.3539, allocations: 9.891 kB / 452.7 MB, free: 7.727 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.221e-05/0.354, allocations: 58.34 kB / 452.7 MB, free: 7.699 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004517/0.3545, allocations: 375.8 kB / 453.1 MB, free: 7.422 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.128e-05/0.3546, allocations: 49.31 kB / 453.1 MB, free: 7.387 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.567e-05/0.3546, allocations: 19.44 kB / 453.2 MB, free: 7.387 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003921/0.355, allocations: 239 kB / 453.4 MB, free: 7.371 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004553/0.3555, allocations: 397.6 kB / 453.8 MB, free: 7.148 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.3555, allocations: 0 / 453.8 MB, free: 7.148 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.025e-05/0.3555, allocations: 0 / 453.8 MB, free: 7.148 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.3556, allocations: 7.719 kB / 453.8 MB, free: 7.148 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00182/0.3574, allocations: 1.174 MB / 455 MB, free: 6.496 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005043/0.3579, allocations: 362.7 kB / 455.3 MB, free: 6.348 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.3581, allocations: 121.6 kB / 455.4 MB, free: 6.336 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.969e-05/0.3581, allocations: 8.688 kB / 455.4 MB, free: 6.336 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.3581, allocations: 42.55 kB / 455.5 MB, free: 6.293 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 1.603e-06/0.3581, allocations: 0 / 455.5 MB, free: 6.293 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.0005831/0.3587, allocations: 318.4 kB / 455.8 MB, free: 6.195 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/0.3588, allocations: 444.7 kB / 456.2 MB, free: 5.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/0.3591, allocations: 336.4 kB / 456.6 MB, free: 5.531 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.3592, allocations: 25.7 kB / 456.6 MB, free: 5.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.712e-05/0.3592, allocations: 183.4 kB / 456.8 MB, free: 5.355 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.071e-05/0.3593, allocations: 113.8 kB / 456.9 MB, free: 5.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.497e-05/0.3593, allocations: 0 / 456.9 MB, free: 5.27 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.106e-05/0.3594, allocations: 349 kB / 457.2 MB, free: 4.945 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.3595, allocations: 92.92 kB / 457.3 MB, free: 4.941 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.3597, allocations: 223.6 kB / 457.5 MB, free: 4.793 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.3599, allocations: 119.8 kB / 457.6 MB, free: 4.773 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3599, allocations: 0 / 457.6 MB, free: 4.773 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005302/0.3605, allocations: 365 kB / 458 MB, free: 4.668 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.3605, allocations: 3.844 kB / 458 MB, free: 4.668 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3605, allocations: 4.031 kB / 458 MB, free: 4.664 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002669/0.3608, allocations: 72.72 kB / 458.1 MB, free: 4.633 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003183/0.3611, allocations: 69.91 kB / 458.1 MB, free: 4.621 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001714/0.3628, allocations: 2.631 MB / 460.8 MB, free: 2.121 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002718/0.3631, allocations: 39.62 kB / 460.8 MB, free: 2.098 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.3631, allocations: 9 kB / 460.8 MB, free: 2.098 MB / 314.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 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 (37): * Single equations (assignments): 34 * 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 {1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001337/0.3633, allocations: 115.5 kB / 460.9 MB, free: 1.988 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.411e-05/0.3634, allocations: 47.44 kB / 461 MB, free: 1.965 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.865e-05/0.3635, allocations: 42.25 kB / 461 MB, free: 1.953 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.3635, allocations: 7.781 kB / 461 MB, free: 1.949 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3635, allocations: 3.984 kB / 461 MB, free: 1.945 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005035/0.364, allocations: 0.6161 MB / 461.6 MB, free: 17.38 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009275/0.3649, allocations: 0.8172 MB / 462.5 MB, free: 16.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3649, allocations: 1.344 kB / 462.5 MB, free: 16.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003786/0.3653, allocations: 78.59 kB / 462.5 MB, free: 16.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.3653, allocations: 5.281 kB / 462.5 MB, free: 16.9 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.3654, allocations: 5.266 kB / 462.6 MB, free: 16.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3654, allocations: 5.328 kB / 462.6 MB, free: 16.89 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3654, allocations: 3.938 kB / 462.6 MB, free: 16.89 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005807/0.366, allocations: 481.7 kB / 463 MB, free: 16.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/0.3661, allocations: 162.8 kB / 463.2 MB, free: 16.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.253e-05/0.3662, allocations: 1.312 kB / 463.2 MB, free: 16.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/0.3665, allocations: 17.12 kB / 463.2 MB, free: 16.56 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.3665, allocations: 19.44 kB / 463.2 MB, free: 16.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.3665, allocations: 13.17 kB / 463.2 MB, free: 16.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0002481/0.3668, allocations: 260.3 kB / 463.5 MB, free: 16.45 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004116/0.3672, allocations: 124.7 kB / 463.6 MB, free: 16.44 MB / 330.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 (33): * Single equations (assignments): 33 * 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.0001635/0.3674, allocations: 116.7 kB / 463.7 MB, free: 16.33 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008254/0.3682, allocations: 488.6 kB / 464.2 MB, free: 16.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3682, allocations: 1.438 kB / 464.2 MB, free: 16.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.3684, allocations: 118 kB / 464.3 MB, free: 16.06 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004645/0.3689, allocations: 107 kB / 464.4 MB, free: 16.03 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.3701, allocations: 0.5972 MB / 465 MB, free: 15.71 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005287/0.3707, allocations: 0.8719 MB / 465.9 MB, free: 14.94 MB / 330.7 MB Notification: Performance of SimCode: time 2.8e-07/0.3707, allocations: 0 / 465.9 MB, free: 14.94 MB / 330.7 MB Notification: Performance of Templates: time 0.01223/0.3829, allocations: 6.733 MB / 472.6 MB, free: 11.58 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches