Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001718/0.001718, allocations: 176.2 kB / 8.151 MB, free: 2.215 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.96/1.96, allocations: 205.2 MB / 213.8 MB, free: 13.87 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.001302/0.001302, allocations: 95.64 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.656e-06/8.827e-06, allocations: 0 / 314.3 MB, free: 9.059 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2421, allocations: 47.56 MB / 361.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.126/0.3682, allocations: 80.83 MB / 442.7 MB, free: 5.203 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/0.3686, allocations: 76.45 kB / 442.7 MB, free: 5.129 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.04302/0.4116, allocations: 9.773 MB / 452.5 MB, free: 11.36 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.333e-05/0.4117, allocations: 11.98 kB / 452.5 MB, free: 11.35 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.001827/0.4135, allocations: 0.7374 MB / 453.3 MB, free: 10.56 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.4136, allocations: 8.031 kB / 453.3 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/0.4138, allocations: 67.34 kB / 453.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008966/0.4147, allocations: 389.6 kB / 453.7 MB, free: 10.06 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.4148, allocations: 50.34 kB / 453.8 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.962e-05/0.4149, allocations: 27.89 kB / 453.8 MB, free: 9.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008831/0.4158, allocations: 257.3 kB / 454 MB, free: 9.727 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009033/0.4168, allocations: 397.6 kB / 454.4 MB, free: 9.285 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.4168, allocations: 0 / 454.4 MB, free: 9.285 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.549e-05/0.4169, allocations: 0 / 454.4 MB, free: 9.285 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.4169, allocations: 8 kB / 454.4 MB, free: 9.277 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003506/0.4204, allocations: 1.218 MB / 455.7 MB, free: 7.996 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006864/0.4211, allocations: 228.2 kB / 455.9 MB, free: 7.77 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004568/0.4216, allocations: 152.3 kB / 456 MB, free: 7.621 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.191e-05/0.4217, allocations: 7.984 kB / 456 MB, free: 7.613 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.4217, allocations: 38.56 kB / 456.1 MB, free: 7.566 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 2.926e-06/0.4217, allocations: 0 / 456.1 MB, free: 7.566 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.00121/0.423, allocations: 362.9 kB / 456.4 MB, free: 7.199 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001912/0.4232, allocations: 445 kB / 456.9 MB, free: 6.66 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006663/0.4238, allocations: 353.2 kB / 457.2 MB, free: 6.309 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.569e-05/0.4239, allocations: 29.7 kB / 457.2 MB, free: 6.273 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.424, allocations: 210.7 kB / 457.4 MB, free: 6.066 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/0.4242, allocations: 126.1 kB / 457.6 MB, free: 5.941 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.4243, allocations: 0 / 457.6 MB, free: 5.941 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.4244, allocations: 322.8 kB / 457.9 MB, free: 5.617 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003216/0.4247, allocations: 104 kB / 458 MB, free: 5.516 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004831/0.4252, allocations: 230.4 kB / 458.2 MB, free: 5.238 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003608/0.4256, allocations: 121.2 kB / 458.3 MB, free: 5.121 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.4256, allocations: 2.438 kB / 458.3 MB, free: 5.121 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001129/0.4268, allocations: 350.8 kB / 458.7 MB, free: 4.766 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.4268, allocations: 8.031 kB / 458.7 MB, free: 4.758 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.4268, allocations: 0 / 458.7 MB, free: 4.758 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000378/0.4272, allocations: 53.69 kB / 458.7 MB, free: 4.699 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008486/0.4281, allocations: 99.88 kB / 458.8 MB, free: 4.602 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003059/0.4311, allocations: 2.614 MB / 461.4 MB, free: 1.754 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006133/0.4318, allocations: 51.8 kB / 461.5 MB, free: 1.703 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-05/0.4319, allocations: 15.98 kB / 461.5 MB, free: 1.688 MB / 346.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.0002177/0.4321, allocations: 43.27 kB / 461.6 MB, free: 1.641 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/0.4323, allocations: 47.44 kB / 461.6 MB, free: 1.594 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001833/0.4325, allocations: 48.56 kB / 461.6 MB, free: 1.543 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.4325, allocations: 4 kB / 461.7 MB, free: 1.539 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4325, allocations: 0 / 461.7 MB, free: 1.539 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009427/0.4335, allocations: 0.6529 MB / 462.3 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002083/0.4356, allocations: 0.9019 MB / 463.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.4356, allocations: 0 / 463.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009461/0.4366, allocations: 103.9 kB / 463.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.718e-06/0.4366, allocations: 0 / 463.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.765e-05/0.4366, allocations: 4 kB / 463.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.4366, allocations: 0 / 463.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.4367, allocations: 0 / 463.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0013/0.438, allocations: 0.5506 MB / 463.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003362/0.4383, allocations: 164.4 kB / 464 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.4385, allocations: 4 kB / 464 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006383/0.4391, allocations: 32.03 kB / 464.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.798e-05/0.4392, allocations: 19.97 kB / 464.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.92e-05/0.4393, allocations: 11.98 kB / 464.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0005221/0.4398, allocations: 279.2 kB / 464.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006383/0.4404, allocations: 135.7 kB / 464.5 MB, free: 14.5 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.0002209/0.4407, allocations: 111.5 kB / 464.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001283/0.442, allocations: 0.5048 MB / 465.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.442, allocations: 0 / 465.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003807/0.4424, allocations: 143.9 kB / 465.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009587/0.4434, allocations: 108.6 kB / 465.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.4456, allocations: 0.6667 MB / 466 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007207/0.4464, allocations: 0.8929 MB / 466.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/0.4464, allocations: 0 / 466.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of Templates: time 0.01799/0.4644, allocations: 8.377 MB / 475.3 MB, free: 3.672 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches