Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [: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.001161/0.001161, allocations: 204.4 kB / 8.543 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 225.5 MB / 234.4 MB, free: 3.309 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009244/0.0009245, allocations: 94.67 kB / 286.3 MB, free: 5.301 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.302e-06/6.342e-06, allocations: 0 / 343.1 MB, free: 8.695 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09449/0.09451, allocations: 51.48 MB / 394.6 MB, free: 5.16 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2563/0.3508, allocations: 77.07 MB / 471.7 MB, free: 14.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.3511, allocations: 77.2 kB / 471.8 MB, free: 14.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.003322/0.3544, allocations: 1.112 MB / 472.9 MB, free: 13.69 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.3545, allocations: 4 kB / 472.9 MB, free: 13.69 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003988/0.3549, allocations: 350 kB / 473.2 MB, free: 13.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3549, allocations: 15.31 kB / 473.2 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/0.355, allocations: 15.81 kB / 473.3 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.3552, allocations: 189.8 kB / 473.4 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.3552, allocations: 0 / 473.4 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.3552, allocations: 4 kB / 473.4 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001089/0.3553, allocations: 37.36 kB / 473.5 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.3556, allocations: 137.5 kB / 473.6 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.3556, allocations: 0 / 473.6 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.3556, allocations: 3.984 kB / 473.6 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.3556, allocations: 4 kB / 473.6 MB, free: 12.92 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003567/0.356, allocations: 351.5 kB / 474 MB, free: 12.56 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.3562, allocations: 101.1 kB / 474.1 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.433e-05/0.3563, allocations: 45.08 kB / 474.1 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/0.3563, allocations: 11.42 kB / 474.1 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.367e-05/0.3563, allocations: 30.56 kB / 474.2 MB, free: 12.37 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.223e-06/0.3563, allocations: 0 / 474.2 MB, free: 12.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002187/0.3565, allocations: 79.22 kB / 474.2 MB, free: 12.3 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.3566, allocations: 107.5 kB / 474.3 MB, free: 12.17 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.3567, allocations: 132.2 kB / 474.5 MB, free: 12.05 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.3567, allocations: 25.7 kB / 474.5 MB, free: 12.02 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.907e-05/0.3568, allocations: 91.89 kB / 474.6 MB, free: 11.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.3568, allocations: 11.12 kB / 474.6 MB, free: 11.92 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/0.3568, allocations: 0 / 474.6 MB, free: 11.92 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.132e-05/0.3569, allocations: 324.4 kB / 474.9 MB, free: 11.6 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.702e-05/0.3569, allocations: 4 kB / 474.9 MB, free: 11.6 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.346e-05/0.3569, allocations: 65.2 kB / 475 MB, free: 11.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.143e-05/0.357, allocations: 27.22 kB / 475 MB, free: 11.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.357, allocations: 0 / 475 MB, free: 11.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000101/0.3571, allocations: 79.22 kB / 475.1 MB, free: 11.42 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.3571, allocations: 7.422 kB / 475.1 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3571, allocations: 4 kB / 475.1 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.3571, allocations: 0 / 475.1 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.436e-05/0.3572, allocations: 28.22 kB / 475.1 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.3572, allocations: 3.234 kB / 475.1 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.499e-05/0.3573, allocations: 11.91 kB / 475.1 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.3573, allocations: 5.641 kB / 475.1 MB, free: 11.37 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.998e-05/0.3573, allocations: 104.3 kB / 475.2 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.3574, allocations: 68.62 kB / 475.3 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.304e-05/0.3575, allocations: 18.61 kB / 475.3 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3575, allocations: 4 kB / 475.3 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3575, allocations: 4 kB / 475.3 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3575, allocations: 0 / 475.3 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.3577, allocations: 162.8 kB / 475.5 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.3577, allocations: 3.906 kB / 475.5 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.311e-05/0.3578, allocations: 19.47 kB / 475.5 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3578, allocations: 0 / 475.5 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.3578, allocations: 4 kB / 475.5 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3578, allocations: 0.8125 kB / 475.5 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3578, allocations: 0 / 475.5 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002321/0.3581, allocations: 317.5 kB / 475.8 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.51e-05/0.3581, allocations: 102.3 kB / 475.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.3581, allocations: 0 / 475.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.3582, allocations: 8 kB / 475.9 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.3583, allocations: 10.27 kB / 475.9 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.3583, allocations: 4 kB / 476 MB, free: 10.55 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.393e-05/0.3584, allocations: 104.9 kB / 476.1 MB, free: 10.46 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002613/0.3586, allocations: 11.94 kB / 476.1 MB, free: 10.45 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (10): * Single equations (assignments): 10 * 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 9.791e-05/0.3587, allocations: 95.19 kB / 476.2 MB, free: 10.35 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001098/0.3588, allocations: 46.5 kB / 476.2 MB, free: 10.32 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3589, allocations: 0 / 476.2 MB, free: 10.32 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.67e-05/0.3589, allocations: 10.31 kB / 476.2 MB, free: 10.31 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.3592, allocations: 38.25 kB / 476.3 MB, free: 10.28 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002624/0.3595, allocations: 127 kB / 476.4 MB, free: 10.15 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/0.3596, allocations: 0.7189 MB / 477.1 MB, free: 9.422 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3596, allocations: 0 / 477.1 MB, free: 9.422 MB / 346.7 MB Notification: Performance of Templates: time 0.002425/0.3621, allocations: 0.6167 MB / 477.7 MB, free: 9.074 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches