Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.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.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") [: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.001371/0.001371, allocations: 195.9 kB / 8.535 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 225.5 MB / 234.4 MB, free: 3.43 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001107/0.001106, allocations: 95.86 kB / 286.3 MB, free: 5.242 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.843e-06/6.863e-06, allocations: 0 / 343.1 MB, free: 8.711 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1219, allocations: 51.47 MB / 394.6 MB, free: 5.191 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3147/0.4367, allocations: 76.51 MB / 471.1 MB, free: 14.78 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001631/0.4369, allocations: 65.17 kB / 471.2 MB, free: 14.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.004157/0.4411, allocations: 1.531 MB / 472.7 MB, free: 13.93 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.4411, allocations: 3.5 kB / 472.7 MB, free: 13.93 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002804/0.4414, allocations: 366.4 kB / 473.1 MB, free: 13.54 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.4414, allocations: 12.03 kB / 473.1 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.4416, allocations: 7.906 kB / 473.1 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.912e-05/0.4417, allocations: 167 kB / 473.3 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.4417, allocations: 8.938 kB / 473.3 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.4417, allocations: 4 kB / 473.3 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001231/0.4418, allocations: 51.22 kB / 473.3 MB, free: 13.28 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.442, allocations: 65.23 kB / 473.4 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.442, allocations: 0 / 473.4 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.442, allocations: 0 / 473.4 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.442, allocations: 4 kB / 473.4 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004903/0.4425, allocations: 364.2 kB / 473.7 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.261e-05/0.4426, allocations: 53.83 kB / 473.8 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.827e-05/0.4426, allocations: 28.23 kB / 473.8 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.4427, allocations: 4 kB / 473.8 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.286e-05/0.4427, allocations: 40.28 kB / 473.9 MB, free: 12.8 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.133e-06/0.4427, allocations: 0 / 473.9 MB, free: 12.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001729/0.4429, allocations: 67.09 kB / 473.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.044e-05/0.4429, allocations: 55.41 kB / 474 MB, free: 12.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.289e-05/0.443, allocations: 95.88 kB / 474.1 MB, free: 12.58 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.659e-06/0.443, allocations: 25.7 kB / 474.1 MB, free: 12.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.16e-05/0.443, allocations: 99.09 kB / 474.2 MB, free: 12.45 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.443, allocations: 34.41 kB / 474.2 MB, free: 12.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/0.443, allocations: 0 / 474.2 MB, free: 12.43 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.519e-05/0.4431, allocations: 326.1 kB / 474.6 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.042e-05/0.4431, allocations: 14.5 kB / 474.6 MB, free: 12.1 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.194e-05/0.4432, allocations: 41.08 kB / 474.6 MB, free: 12.06 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.349e-05/0.4432, allocations: 30.31 kB / 474.6 MB, free: 12.04 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4432, allocations: 4 kB / 474.6 MB, free: 12.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001146/0.4434, allocations: 82.91 kB / 474.7 MB, free: 11.97 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.4434, allocations: 4 kB / 474.7 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4434, allocations: 3.906 kB / 474.7 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.4434, allocations: 7.281 kB / 474.7 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.4435, allocations: 23.94 kB / 474.8 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.4436, allocations: 1.969 kB / 474.8 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.422e-05/0.4436, allocations: 11.17 kB / 474.8 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.4436, allocations: 7.812 kB / 474.8 MB, free: 11.92 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 prepare postOptimizeDAE: time 4.928e-05/0.4437, allocations: 108.9 kB / 474.9 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.4437, allocations: 7.906 kB / 474.9 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/0.4438, allocations: 8.25 kB / 474.9 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.4438, allocations: 3.828 kB / 474.9 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4438, allocations: 0 / 474.9 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.4438, allocations: 7.219 kB / 474.9 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.4439, allocations: 159.8 kB / 475.1 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4439, allocations: 0.875 kB / 475.1 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.444, allocations: 27.14 kB / 475.1 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.444, allocations: 4 kB / 475.1 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.4441, allocations: 0 / 475.1 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4441, allocations: 0 / 475.1 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.4441, allocations: 0 / 475.1 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001499/0.4442, allocations: 185 kB / 475.3 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.07e-05/0.4443, allocations: 84.95 kB / 475.4 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.4443, allocations: 0 / 475.4 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.598e-05/0.4444, allocations: 10.59 kB / 475.4 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.092e-05/0.4444, allocations: 3.375 kB / 475.4 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.4444, allocations: 7.938 kB / 475.4 MB, free: 11.3 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.011e-05/0.4444, allocations: 83.03 kB / 475.5 MB, free: 11.23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002248/0.4446, allocations: 19.91 kB / 475.5 MB, free: 11.21 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mass1.T,mass2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001016/0.4448, allocations: 98.62 kB / 475.6 MB, free: 11.11 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001029/0.4449, allocations: 50.25 kB / 475.6 MB, free: 11.07 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4449, allocations: 128 / 475.6 MB, free: 11.07 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.296e-05/0.4449, allocations: 23.75 kB / 475.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.4451, allocations: 8.75 kB / 475.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004343/0.4455, allocations: 227 kB / 475.9 MB, free: 10.83 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.4457, allocations: 0.709 MB / 476.6 MB, free: 10.11 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4457, allocations: 0 / 476.6 MB, free: 10.11 MB / 346.7 MB Notification: Performance of Templates: time 0.002549/0.4482, allocations: 0.6695 MB / 477.3 MB, free: 9.734 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.makefile (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.sim & ./Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/TwoMasses/TwoMasses.csv","../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches