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") [: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.001124/0.001124, allocations: 179.2 kB / 8.474 MB, free: 1.867 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.164/1.164, allocations: 205.2 MB / 214.1 MB, free: 5.516 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.0008756/0.0008756, allocations: 102.2 kB / 262.1 MB, free: 5.555 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.804e-06/7.835e-06, allocations: 4 kB / 315 MB, free: 41.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07897/0.07899, allocations: 47.57 MB / 362.5 MB, free: 10 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2294/0.3084, allocations: 80.82 MB / 443.4 MB, free: 10.57 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/0.3087, allocations: 70.98 kB / 443.4 MB, free: 10.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02285/0.3315, allocations: 9.772 MB / 453.2 MB, free: 7.789 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.497e-05/0.3316, allocations: 12.31 kB / 453.2 MB, free: 7.789 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009424/0.3325, allocations: 0.7403 MB / 454 MB, free: 7.203 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.3326, allocations: 11.03 kB / 454 MB, free: 7.203 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.3327, allocations: 60.81 kB / 454 MB, free: 7.176 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004732/0.3332, allocations: 387.6 kB / 454.4 MB, free: 6.898 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.894e-05/0.3333, allocations: 49.47 kB / 454.5 MB, free: 6.863 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.439e-05/0.3333, allocations: 32.55 kB / 454.5 MB, free: 6.855 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004162/0.3337, allocations: 252.2 kB / 454.7 MB, free: 6.836 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004375/0.3342, allocations: 402.7 kB / 455.1 MB, free: 6.617 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.3342, allocations: 3.938 kB / 455.1 MB, free: 6.613 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.242e-05/0.3342, allocations: 0 / 455.1 MB, free: 6.613 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.3343, allocations: 7.719 kB / 455.1 MB, free: 6.613 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001746/0.336, allocations: 1.219 MB / 456.4 MB, free: 5.941 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003004/0.3363, allocations: 225.1 kB / 456.6 MB, free: 5.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002123/0.3365, allocations: 141.3 kB / 456.7 MB, free: 5.902 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.06e-05/0.3366, allocations: 15.14 kB / 456.7 MB, free: 5.898 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.3366, allocations: 37.28 kB / 456.8 MB, free: 5.859 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 2.254e-06/0.3366, allocations: 112 / 456.8 MB, free: 5.859 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006737/0.3373, allocations: 360.5 kB / 457.1 MB, free: 5.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.304e-05/0.3374, allocations: 449.8 kB / 457.6 MB, free: 5.215 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003719/0.3378, allocations: 349.6 kB / 457.9 MB, free: 5.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.3378, allocations: 25.7 kB / 457.9 MB, free: 5.059 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.454e-05/0.3379, allocations: 184 kB / 458.1 MB, free: 4.918 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.519e-05/0.3379, allocations: 125 kB / 458.2 MB, free: 4.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.737e-05/0.338, allocations: 3.844 kB / 458.2 MB, free: 4.82 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.054e-05/0.338, allocations: 351.7 kB / 458.6 MB, free: 4.492 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.3382, allocations: 104.2 kB / 458.7 MB, free: 4.488 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/0.3384, allocations: 230.4 kB / 458.9 MB, free: 4.344 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.3386, allocations: 120.5 kB / 459 MB, free: 4.324 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3386, allocations: 0 / 459 MB, free: 4.324 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005861/0.3392, allocations: 380 kB / 459.4 MB, free: 4.219 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.3392, allocations: 8 kB / 459.4 MB, free: 4.215 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3392, allocations: 1.344 kB / 459.4 MB, free: 4.215 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002274/0.3394, allocations: 58.89 kB / 459.5 MB, free: 4.188 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004414/0.3399, allocations: 99.91 kB / 459.6 MB, free: 4.164 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/0.3414, allocations: 2.608 MB / 462.2 MB, free: 1.672 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000408/0.3419, allocations: 56.36 kB / 462.2 MB, free: 1.645 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.221e-05/0.3419, allocations: 11.22 kB / 462.2 MB, free: 1.645 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 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.0001388/0.342, allocations: 113.4 kB / 462.3 MB, free: 1.535 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.24e-05/0.3421, allocations: 52.55 kB / 462.4 MB, free: 1.508 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.856e-05/0.3422, allocations: 53.77 kB / 462.4 MB, free: 1.484 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3422, allocations: 2.594 kB / 462.4 MB, free: 1.484 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3423, allocations: 9.156 kB / 462.5 MB, free: 1.477 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005432/0.3428, allocations: 0.6524 MB / 463.1 MB, free: 16.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.3439, allocations: 0.8871 MB / 464 MB, free: 16.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.344, allocations: 0 / 464 MB, free: 16.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004793/0.3444, allocations: 102.1 kB / 464.1 MB, free: 16.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.3445, allocations: 10.45 kB / 464.1 MB, free: 16.4 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.3445, allocations: 5.219 kB / 464.1 MB, free: 16.4 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3445, allocations: 1.312 kB / 464.1 MB, free: 16.4 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3445, allocations: 0 / 464.1 MB, free: 16.4 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006649/0.3452, allocations: 0.5409 MB / 464.6 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001773/0.3454, allocations: 170.6 kB / 464.8 MB, free: 16.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.091e-05/0.3454, allocations: 1.031 kB / 464.8 MB, free: 16.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003366/0.3458, allocations: 37.22 kB / 464.9 MB, free: 16.05 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.449e-05/0.3459, allocations: 19.22 kB / 464.9 MB, free: 16.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.3459, allocations: 10.38 kB / 464.9 MB, free: 16.05 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0002842/0.3462, allocations: 277.6 kB / 465.2 MB, free: 15.95 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000459/0.3466, allocations: 127 kB / 465.3 MB, free: 15.93 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 (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.0001766/0.3468, allocations: 120 kB / 465.4 MB, free: 15.83 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007266/0.3476, allocations: 0.5094 MB / 465.9 MB, free: 15.56 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3476, allocations: 1.156 kB / 465.9 MB, free: 15.56 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000194/0.3478, allocations: 140.4 kB / 466 MB, free: 15.55 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005094/0.3483, allocations: 115.4 kB / 466.2 MB, free: 15.52 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.3497, allocations: 0.6188 MB / 466.8 MB, free: 15.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004587/0.3502, allocations: 0.8868 MB / 467.7 MB, free: 14.4 MB / 330.7 MB Notification: Performance of SimCode: time 3e-07/0.3502, allocations: 5.312 kB / 467.7 MB, free: 14.39 MB / 330.7 MB Notification: Performance of Templates: time 0.01269/0.3629, allocations: 7.159 MB / 474.8 MB, free: 10.83 MB / 330.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