Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [: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.001049/0.001048, allocations: 194.9 kB / 8.539 MB, free: 1.801 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.157/1.157, allocations: 225.5 MB / 234.4 MB, free: 3.391 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008409/0.0008409, allocations: 95.94 kB / 286.3 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.844e-06/7.895e-06, allocations: 4 kB / 343.1 MB, free: 8.695 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09613/0.09616, allocations: 51.48 MB / 394.6 MB, free: 5.168 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2505/0.3467, allocations: 76.9 MB / 471.5 MB, free: 14.55 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.347, allocations: 78.3 kB / 471.6 MB, free: 14.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.003869/0.3508, allocations: 1.186 MB / 472.8 MB, free: 13.88 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.723e-05/0.3509, allocations: 8 kB / 472.8 MB, free: 13.88 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000324/0.3512, allocations: 349.5 kB / 473.1 MB, free: 13.51 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.3513, allocations: 8.031 kB / 473.1 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/0.3514, allocations: 22.81 kB / 473.2 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.3516, allocations: 190.8 kB / 473.4 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.3516, allocations: 0 / 473.4 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.3516, allocations: 4 kB / 473.4 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.996e-05/0.3517, allocations: 18.47 kB / 473.4 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.3519, allocations: 84.11 kB / 473.5 MB, free: 13.17 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.3519, allocations: 0 / 473.5 MB, free: 13.17 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.3519, allocations: 0 / 473.5 MB, free: 13.17 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.3519, allocations: 3.984 kB / 473.5 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.3522, allocations: 247.5 kB / 473.7 MB, free: 12.9 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.03e-05/0.3523, allocations: 40.53 kB / 473.7 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.666e-05/0.3523, allocations: 13.78 kB / 473.8 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.3523, allocations: 4 kB / 473.8 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.3524, allocations: 34.19 kB / 473.8 MB, free: 12.79 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.3524, allocations: 0 / 473.8 MB, free: 12.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001586/0.3525, allocations: 48.92 kB / 473.8 MB, free: 12.73 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.3526, allocations: 80.42 kB / 473.9 MB, free: 12.64 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.202e-05/0.3527, allocations: 121.6 kB / 474 MB, free: 12.53 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.387e-06/0.3527, allocations: 29.7 kB / 474.1 MB, free: 12.49 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.521e-05/0.3527, allocations: 88.08 kB / 474.2 MB, free: 12.4 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.27e-05/0.3527, allocations: 3.906 kB / 474.2 MB, free: 12.4 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/0.3527, allocations: 0 / 474.2 MB, free: 12.4 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.003e-05/0.3528, allocations: 317.9 kB / 474.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.355e-05/0.3528, allocations: 4 kB / 474.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.456e-05/0.3528, allocations: 12.97 kB / 474.5 MB, free: 12.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.708e-05/0.3529, allocations: 8.062 kB / 474.5 MB, free: 12.06 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3529, allocations: 0 / 474.5 MB, free: 12.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.323e-05/0.3529, allocations: 52.09 kB / 474.5 MB, free: 12.01 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.353, allocations: 4 kB / 474.5 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.353, allocations: 3.312 kB / 474.5 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.353, allocations: 3.188 kB / 474.6 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.768e-05/0.3531, allocations: 8 kB / 474.6 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.3531, allocations: 7.406 kB / 474.6 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.824e-05/0.3531, allocations: 8.062 kB / 474.6 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.924e-06/0.3532, allocations: 0 / 474.6 MB, free: 11.98 MB / 346.7 MB 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 (2): * Single equations (assignments): 2 * 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.437e-05/0.3532, allocations: 101 kB / 474.7 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.942e-05/0.3533, allocations: 40.92 kB / 474.7 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.485e-05/0.3533, allocations: 10.88 kB / 474.7 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.3533, allocations: 0 / 474.7 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3533, allocations: 7.844 kB / 474.7 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3533, allocations: 4.031 kB / 474.7 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.3535, allocations: 144.2 kB / 474.9 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3535, allocations: 4 kB / 474.9 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.623e-05/0.3535, allocations: 7.375 kB / 474.9 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3535, allocations: 0 / 474.9 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-06/0.3535, allocations: 0 / 474.9 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3535, allocations: 4 kB / 474.9 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3536, allocations: 1.797 kB / 474.9 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.157e-05/0.3536, allocations: 164.2 kB / 475.1 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.3537, allocations: 91.72 kB / 475.1 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.3537, allocations: 0 / 475.1 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.89e-05/0.3538, allocations: 7.328 kB / 475.2 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.365e-05/0.3538, allocations: 0 / 475.2 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.3538, allocations: 4 kB / 475.2 MB, free: 11.36 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.972e-05/0.3539, allocations: 108.9 kB / 475.3 MB, free: 11.26 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000282/0.3542, allocations: 7.938 kB / 475.3 MB, free: 11.25 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001012/0.3543, allocations: 99.25 kB / 475.4 MB, free: 11.15 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.844e-05/0.3544, allocations: 14.66 kB / 475.4 MB, free: 11.14 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3544, allocations: 0 / 475.4 MB, free: 11.14 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.289e-05/0.3544, allocations: 0 / 475.4 MB, free: 11.14 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.3546, allocations: 18.48 kB / 475.4 MB, free: 11.13 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002234/0.3548, allocations: 98.64 kB / 475.5 MB, free: 11.03 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.355, allocations: 0.6985 MB / 476.2 MB, free: 10.31 MB / 346.7 MB Notification: Performance of SimCode: time 2.81e-07/0.355, allocations: 3.938 kB / 476.2 MB, free: 10.3 MB / 346.7 MB Notification: Performance of Templates: time 0.002274/0.3573, allocations: 442.2 kB / 476.6 MB, free: 10.08 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches