Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") [: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.001029/0.001029, allocations: 183.8 kB / 8.475 MB, free: 0.5391 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.425/1.425, allocations: 205.2 MB / 214.1 MB, free: 8.594 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008665/0.0008665, allocations: 92.22 kB / 262.1 MB, free: 5.121 MB / 210.8 MB Notification: Performance of FrontEnd - loaded program: time 5.45e-06/5.631e-06, allocations: 0 / 315 MB, free: 2.004 MB / 258.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08473/0.08476, allocations: 47.56 MB / 362.5 MB, free: 2.328 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2745/0.3593, allocations: 82.39 MB / 444.9 MB, free: 5.219 MB / 322.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/0.3596, allocations: 75.86 kB / 445 MB, free: 5.184 MB / 322.8 MB Notification: Performance of FrontEnd: time 0.0213/0.381, allocations: 7.91 MB / 452.9 MB, free: 14.86 MB / 338.8 MB Notification: Performance of Transformations before backend: time 3.836e-05/0.381, allocations: 8 kB / 452.9 MB, free: 14.86 MB / 338.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.00105/0.3821, allocations: 0.5888 MB / 453.5 MB, free: 14.25 MB / 338.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.3822, allocations: 8.031 kB / 453.5 MB, free: 14.24 MB / 338.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000166/0.3823, allocations: 47.16 kB / 453.6 MB, free: 14.2 MB / 338.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006485/0.383, allocations: 325.9 kB / 453.9 MB, free: 13.86 MB / 338.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.383, allocations: 8 kB / 453.9 MB, free: 13.86 MB / 338.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.776e-05/0.3831, allocations: 18.38 kB / 453.9 MB, free: 13.84 MB / 338.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003107/0.3834, allocations: 147.5 kB / 454 MB, free: 13.74 MB / 338.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004501/0.3839, allocations: 250.8 kB / 454.3 MB, free: 13.51 MB / 338.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.3839, allocations: 4 kB / 454.3 MB, free: 13.5 MB / 338.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.3839, allocations: 7.984 kB / 454.3 MB, free: 13.5 MB / 338.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.384, allocations: 4 kB / 454.3 MB, free: 13.49 MB / 338.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/0.3855, allocations: 0.7479 MB / 455.1 MB, free: 12.86 MB / 338.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000454/0.386, allocations: 191.1 kB / 455.2 MB, free: 12.71 MB / 338.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.3861, allocations: 74.36 kB / 455.3 MB, free: 12.66 MB / 338.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.7e-05/0.3862, allocations: 7.188 kB / 455.3 MB, free: 12.66 MB / 338.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002038/0.3864, allocations: 119.7 kB / 455.4 MB, free: 12.55 MB / 338.8 MB Notification: Performance of pre-optimization done (n=24): time 2.314e-06/0.3864, allocations: 0 / 455.4 MB, free: 12.55 MB / 338.8 MB Notification: Performance of matching and sorting (n=24): time 0.0006058/0.387, allocations: 241.6 kB / 455.7 MB, free: 12.36 MB / 338.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001541/0.3872, allocations: 316.4 kB / 456 MB, free: 11.98 MB / 338.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004723/0.3877, allocations: 349.4 kB / 456.3 MB, free: 11.71 MB / 338.8 MB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.3877, allocations: 29.7 kB / 456.4 MB, free: 11.67 MB / 338.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.939e-05/0.3878, allocations: 147.2 kB / 456.5 MB, free: 11.54 MB / 338.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.04e-05/0.3879, allocations: 75.17 kB / 456.6 MB, free: 11.48 MB / 338.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.979e-06/0.3879, allocations: 3.938 kB / 456.6 MB, free: 11.47 MB / 338.8 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3881, allocations: 349 kB / 456.9 MB, free: 11.14 MB / 338.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.3882, allocations: 65.55 kB / 457 MB, free: 11.1 MB / 338.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.3884, allocations: 164.9 kB / 457.1 MB, free: 10.93 MB / 338.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.3885, allocations: 81.19 kB / 457.2 MB, free: 10.88 MB / 338.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.3885, allocations: 3.906 kB / 457.2 MB, free: 10.87 MB / 338.8 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005976/0.3891, allocations: 267 kB / 457.5 MB, free: 10.66 MB / 338.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.3892, allocations: 5.406 kB / 457.5 MB, free: 10.65 MB / 338.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.3892, allocations: 4 kB / 457.5 MB, free: 10.65 MB / 338.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002351/0.3894, allocations: 38.45 kB / 457.5 MB, free: 10.62 MB / 338.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/0.3897, allocations: 57.44 kB / 457.6 MB, free: 10.56 MB / 338.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/0.3912, allocations: 1.381 MB / 459 MB, free: 9.16 MB / 338.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.3914, allocations: 23.69 kB / 459 MB, free: 9.137 MB / 338.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.3914, allocations: 14.28 kB / 459 MB, free: 9.125 MB / 338.8 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real openTank.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002193/0.3917, allocations: 111.3 kB / 459.1 MB, free: 9.012 MB / 338.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.268e-05/0.3917, allocations: 43.53 kB / 459.2 MB, free: 8.969 MB / 338.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005432/0.3923, allocations: 262.1 kB / 459.4 MB, free: 8.766 MB / 338.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3923, allocations: 4.234 kB / 459.4 MB, free: 8.762 MB / 338.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.3923, allocations: 0 / 459.4 MB, free: 8.762 MB / 338.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004506/0.3928, allocations: 0.5688 MB / 460 MB, free: 8.129 MB / 338.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009757/0.3938, allocations: 0.6855 MB / 460.7 MB, free: 7.52 MB / 338.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.3938, allocations: 0 / 460.7 MB, free: 7.52 MB / 338.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.394, allocations: 49.53 kB / 460.7 MB, free: 7.473 MB / 338.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.3941, allocations: 4 kB / 460.7 MB, free: 7.469 MB / 338.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/0.3941, allocations: 4.75 kB / 460.7 MB, free: 7.465 MB / 338.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.3941, allocations: 2.5 kB / 460.7 MB, free: 7.465 MB / 338.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.3941, allocations: 0 / 460.7 MB, free: 7.465 MB / 338.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005837/0.3947, allocations: 393.1 kB / 461.1 MB, free: 7.145 MB / 338.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000238/0.3949, allocations: 152.1 kB / 461.3 MB, free: 6.992 MB / 338.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.319e-05/0.395, allocations: 0.6875 kB / 461.3 MB, free: 6.992 MB / 338.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.3952, allocations: 12.05 kB / 461.3 MB, free: 6.98 MB / 338.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.061e-05/0.3953, allocations: 14.3 kB / 461.3 MB, free: 6.969 MB / 338.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.3954, allocations: 6.656 kB / 461.3 MB, free: 6.965 MB / 338.8 MB Notification: Performance of sort global known variables: time 0.0004016/0.3958, allocations: 277.8 kB / 461.6 MB, free: 6.762 MB / 338.8 MB Notification: Performance of remove unused functions: time 0.000455/0.3962, allocations: 101.8 kB / 461.7 MB, free: 6.664 MB / 338.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (openTank.m,openTank.H) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008015/0.397, allocations: 323.7 kB / 462 MB, free: 6.41 MB / 338.8 MB Notification: Performance of simCode: created initialization part: time 0.0006239/0.3977, allocations: 287.4 kB / 462.3 MB, free: 6.172 MB / 338.8 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3977, allocations: 0 / 462.3 MB, free: 6.172 MB / 338.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.3978, allocations: 89.98 kB / 462.3 MB, free: 6.109 MB / 338.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005427/0.3984, allocations: 81.06 kB / 462.4 MB, free: 6.051 MB / 338.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.3997, allocations: 0.5384 MB / 463 MB, free: 5.547 MB / 338.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005048/0.4002, allocations: 0.8411 MB / 463.8 MB, free: 4.691 MB / 338.8 MB Notification: Performance of SimCode: time 3.1e-07/0.4002, allocations: 0 / 463.8 MB, free: 4.691 MB / 338.8 MB Notification: Performance of Templates: time 0.01245/0.4127, allocations: 5.232 MB / 469 MB, free: 15.49 MB / 354.8 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches