Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001234/0.001234, allocations: 199.2 kB / 8.542 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 225.5 MB / 234.4 MB, free: 3.32 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008724/0.0008724, allocations: 87.34 kB / 286.3 MB, free: 5.289 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.135e-06/8.356e-06, allocations: 0 / 343.1 MB, free: 8.711 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1247, allocations: 51.47 MB / 394.6 MB, free: 5.195 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3245/0.4493, allocations: 81.04 MB / 475.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/0.4496, allocations: 70.14 kB / 475.7 MB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02216/0.4718, allocations: 9.681 MB / 485.4 MB, free: 4.305 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.355e-05/0.4718, allocations: 12 kB / 485.4 MB, free: 4.293 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.0009491/0.4728, allocations: 0.7425 MB / 486.2 MB, free: 3.535 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.4728, allocations: 8.031 kB / 486.2 MB, free: 3.527 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.611e-05/0.4729, allocations: 67.28 kB / 486.2 MB, free: 3.461 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004648/0.4734, allocations: 399.4 kB / 486.6 MB, free: 3.082 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.744e-05/0.4735, allocations: 46.36 kB / 486.7 MB, free: 3.031 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.772e-05/0.4736, allocations: 23.91 kB / 486.7 MB, free: 3.008 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004032/0.474, allocations: 257.1 kB / 486.9 MB, free: 2.848 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004716/0.4744, allocations: 392.1 kB / 487.3 MB, free: 2.496 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.4745, allocations: 3.984 kB / 487.3 MB, free: 2.492 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.26e-05/0.4745, allocations: 4 kB / 487.3 MB, free: 2.488 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.4745, allocations: 11.28 kB / 487.3 MB, free: 2.48 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001733/0.4763, allocations: 1.217 MB / 488.6 MB, free: 1.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003136/0.4766, allocations: 216.1 kB / 488.8 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.4768, allocations: 149.7 kB / 488.9 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.866e-05/0.4769, allocations: 11.38 kB / 488.9 MB, free: 1.242 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.4769, allocations: 41.88 kB / 489 MB, free: 1.195 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 1.854e-06/0.4769, allocations: 0 / 489 MB, free: 1.195 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006362/0.4775, allocations: 357.6 kB / 489.3 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.67e-05/0.4776, allocations: 441 kB / 489.7 MB, free: 396 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/0.4779, allocations: 353.2 kB / 490.1 MB, free: 116 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.478, allocations: 33.7 kB / 490.1 MB, free: 76 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.4781, allocations: 181.8 kB / 490.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/0.4783, allocations: 120.5 kB / 490.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.828e-05/0.4783, allocations: 0 / 490.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.4784, allocations: 352.8 kB / 490.8 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.4786, allocations: 105.4 kB / 490.9 MB, free: 15.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002532/0.4789, allocations: 230.8 kB / 491.1 MB, free: 15.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.479, allocations: 127 kB / 491.2 MB, free: 15.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4791, allocations: 0 / 491.2 MB, free: 15.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006338/0.4797, allocations: 383.5 kB / 491.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.4797, allocations: 4 kB / 491.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4797, allocations: 0 / 491.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002353/0.48, allocations: 60 kB / 491.6 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004378/0.4804, allocations: 95.91 kB / 491.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002157/0.4826, allocations: 2.615 MB / 494.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003742/0.483, allocations: 51.77 kB / 494.4 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.409e-05/0.483, allocations: 15.67 kB / 494.4 MB, free: 11.9 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.0001998/0.4832, allocations: 120.9 kB / 494.5 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.546e-05/0.4833, allocations: 47.44 kB / 494.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.666e-05/0.4834, allocations: 46.45 kB / 494.6 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.4834, allocations: 4 kB / 494.6 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-06/0.4834, allocations: 9.109 kB / 494.6 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006567/0.4841, allocations: 0.6488 MB / 495.3 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.4854, allocations: 0.8846 MB / 496.2 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.4854, allocations: 0 / 496.2 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004934/0.4859, allocations: 107.6 kB / 496.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.486, allocations: 3.984 kB / 496.3 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.486, allocations: 7.906 kB / 496.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.486, allocations: 5.719 kB / 496.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.486, allocations: 0 / 496.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007502/0.4868, allocations: 0.538 MB / 496.8 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001762/0.487, allocations: 163 kB / 497 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.798e-05/0.487, allocations: 0 / 497 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003351/0.4874, allocations: 47.06 kB / 497 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.712e-05/0.4874, allocations: 21.41 kB / 497.1 MB, free: 9.539 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.4875, allocations: 7.984 kB / 497.1 MB, free: 9.531 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.000287/0.4878, allocations: 283.9 kB / 497.3 MB, free: 9.328 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000453/0.4882, allocations: 128.7 kB / 497.5 MB, free: 9.203 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.0002169/0.4885, allocations: 115 kB / 497.6 MB, free: 9.082 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008161/0.4893, allocations: 0.5025 MB / 498.1 MB, free: 8.652 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4893, allocations: 0 / 498.1 MB, free: 8.652 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002252/0.4895, allocations: 141.9 kB / 498.2 MB, free: 8.559 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005477/0.4901, allocations: 106.2 kB / 498.3 MB, free: 8.484 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.4914, allocations: 0.6397 MB / 499 MB, free: 7.883 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005345/0.492, allocations: 0.8877 MB / 499.9 MB, free: 6.98 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.492, allocations: 4 kB / 499.9 MB, free: 6.977 MB / 362.7 MB Notification: Performance of Templates: time 0.01345/0.5054, allocations: 7.148 MB / 0.4951 GB, free: 44 kB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches