Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [: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.001111/0.001111, allocations: 206.2 kB / 8.542 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.282/1.282, 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.000938/0.000938, allocations: 95.67 kB / 286.3 MB, free: 5.25 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.476e-06/8.667e-06, allocations: 0 / 343.1 MB, free: 8.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1146, allocations: 51.47 MB / 394.6 MB, free: 5.234 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2366/0.3513, allocations: 77.09 MB / 471.7 MB, free: 14.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001846/0.3515, allocations: 81.53 kB / 471.8 MB, free: 14.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.005039/0.3565, allocations: 1.881 MB / 473.7 MB, free: 13.29 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.948e-06/0.3566, allocations: 4 kB / 473.7 MB, free: 13.29 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002446/0.3568, allocations: 361.3 kB / 474 MB, free: 12.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.3568, allocations: 8.031 kB / 474 MB, free: 12.9 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.357, allocations: 26.14 kB / 474.1 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.3572, allocations: 202.4 kB / 474.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.3572, allocations: 0 / 474.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.3572, allocations: 4 kB / 474.3 MB, free: 12.65 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.198e-05/0.3573, allocations: 19.81 kB / 474.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.3574, allocations: 98.53 kB / 474.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.3574, allocations: 0 / 474.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.3575, allocations: 3.188 kB / 474.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3575, allocations: 0 / 474.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002675/0.3577, allocations: 261.7 kB / 474.6 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.367e-05/0.3578, allocations: 59.23 kB / 474.7 MB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.11e-05/0.3578, allocations: 27.3 kB / 474.7 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.3579, allocations: 3.141 kB / 474.7 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/0.3579, allocations: 46.48 kB / 474.8 MB, free: 12.1 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.3579, allocations: 0 / 474.8 MB, free: 12.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001552/0.3581, allocations: 60.3 kB / 474.8 MB, free: 12.04 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.3581, allocations: 102.8 kB / 474.9 MB, free: 11.92 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.063e-05/0.3582, allocations: 123.9 kB / 475 MB, free: 11.81 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.3582, allocations: 37.64 kB / 475.1 MB, free: 11.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.95e-05/0.3582, allocations: 87.36 kB / 475.2 MB, free: 11.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.147e-05/0.3582, allocations: 0 / 475.2 MB, free: 11.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.3583, allocations: 0 / 475.2 MB, free: 11.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.003e-05/0.3583, allocations: 321.4 kB / 475.5 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.399e-05/0.3583, allocations: 3.375 kB / 475.5 MB, free: 11.36 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.021e-05/0.3583, allocations: 26.02 kB / 475.5 MB, free: 11.33 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.918e-05/0.3584, allocations: 15.44 kB / 475.5 MB, free: 11.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.3584, allocations: 0 / 475.5 MB, free: 11.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.307e-05/0.3585, allocations: 56.03 kB / 475.6 MB, free: 11.26 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.3585, allocations: 7.938 kB / 475.6 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.3585, allocations: 0 / 475.6 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.3585, allocations: 4 kB / 475.6 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.726e-05/0.3586, allocations: 16.83 kB / 475.6 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.3586, allocations: 0.7031 kB / 475.6 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.5e-05/0.3586, allocations: 7.906 kB / 475.6 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.3587, allocations: 7.047 kB / 475.6 MB, free: 11.23 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 3.819e-05/0.3587, allocations: 101 kB / 475.7 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.224e-05/0.3588, allocations: 49.11 kB / 475.8 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.029e-05/0.3588, allocations: 18.7 kB / 475.8 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3588, allocations: 2.25 kB / 475.8 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3588, allocations: 0 / 475.8 MB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.3588, allocations: 7.906 kB / 475.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.3589, allocations: 146.3 kB / 475.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3589, allocations: 0 / 475.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.067e-05/0.359, allocations: 10.77 kB / 476 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.359, allocations: 4 kB / 476 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.359, allocations: 1.375 kB / 476 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.359, allocations: 0 / 476 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.359, allocations: 8 kB / 476 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.202e-05/0.3591, allocations: 189.3 kB / 476.2 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.727e-05/0.3592, allocations: 91.53 kB / 476.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.3592, allocations: 4 kB / 476.2 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.755e-05/0.3593, allocations: 8 kB / 476.3 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.3593, allocations: 3.422 kB / 476.3 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.3593, allocations: 3.906 kB / 476.3 MB, free: 10.55 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.113e-05/0.3594, allocations: 114 kB / 476.4 MB, free: 10.45 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002218/0.3596, allocations: 7.938 kB / 476.4 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 (4): * Single equations (assignments): 4 * 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 7.993e-05/0.3597, allocations: 95.25 kB / 476.5 MB, free: 10.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.264e-05/0.3598, allocations: 26.73 kB / 476.5 MB, free: 10.32 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3598, allocations: 0 / 476.5 MB, free: 10.32 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.314e-05/0.3598, allocations: 7.25 kB / 476.5 MB, free: 10.32 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.36, allocations: 22.28 kB / 476.5 MB, free: 10.31 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002225/0.3603, allocations: 108.6 kB / 476.6 MB, free: 10.19 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.3604, allocations: 0.7054 MB / 477.3 MB, free: 9.469 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3604, allocations: 4 kB / 477.3 MB, free: 9.465 MB / 346.7 MB Notification: Performance of Templates: time 0.002191/0.3626, allocations: 0.5541 MB / 477.9 MB, free: 9.168 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches