Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [: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.001499/0.001499, allocations: 208.2 kB / 8.544 MB, free: 1.816 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 225.5 MB / 234.4 MB, free: 3.312 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008823/0.0008823, allocations: 92.5 kB / 286.3 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.837e-06/8.867e-06, allocations: 4 kB / 343.1 MB, free: 8.664 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09709/0.09712, allocations: 51.48 MB / 394.6 MB, free: 5.133 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3031/0.4002, allocations: 77.1 MB / 471.7 MB, free: 14.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/0.4005, allocations: 78.78 kB / 471.8 MB, free: 14.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.005211/0.4057, allocations: 1.879 MB / 473.7 MB, free: 13.2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.4058, allocations: 7.938 kB / 473.7 MB, free: 13.2 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.000257/0.406, allocations: 365.2 kB / 474 MB, free: 12.81 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.4061, allocations: 8.031 kB / 474.1 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.4062, allocations: 19.38 kB / 474.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.4064, allocations: 193.3 kB / 474.3 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-06/0.4064, allocations: 4 kB / 474.3 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.4064, allocations: 4 kB / 474.3 MB, free: 12.56 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.629e-05/0.4065, allocations: 13.12 kB / 474.3 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.4067, allocations: 107 kB / 474.4 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.4067, allocations: 3.938 kB / 474.4 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.4067, allocations: 4 kB / 474.4 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.4067, allocations: 0 / 474.4 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002571/0.407, allocations: 256.1 kB / 474.6 MB, free: 12.17 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.366e-05/0.407, allocations: 66.31 kB / 474.7 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.31e-05/0.4071, allocations: 27.3 kB / 474.7 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.4071, allocations: 0 / 474.7 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.067e-05/0.4071, allocations: 34.19 kB / 474.8 MB, free: 12.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.4071, allocations: 4 kB / 474.8 MB, free: 12.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001473/0.4073, allocations: 57.7 kB / 474.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.4073, allocations: 106.8 kB / 474.9 MB, free: 11.83 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.025e-05/0.4074, allocations: 129.6 kB / 475.1 MB, free: 11.71 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/0.4074, allocations: 25.7 kB / 475.1 MB, free: 11.68 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.192e-05/0.4074, allocations: 94.64 kB / 475.2 MB, free: 11.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.227e-05/0.4074, allocations: 4.094 kB / 475.2 MB, free: 11.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-06/0.4075, allocations: 3.938 kB / 475.2 MB, free: 11.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 3.753e-05/0.4075, allocations: 314.7 kB / 475.5 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.345e-05/0.4075, allocations: 7 kB / 475.5 MB, free: 11.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.951e-05/0.4075, allocations: 34.12 kB / 475.5 MB, free: 11.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.061e-05/0.4076, allocations: 11.88 kB / 475.5 MB, free: 11.22 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4076, allocations: 0 / 475.5 MB, free: 11.22 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.027e-05/0.4077, allocations: 60.33 kB / 475.6 MB, free: 11.16 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.4077, allocations: 5.875 kB / 475.6 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.4077, allocations: 0 / 475.6 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.4077, allocations: 0 / 475.6 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.654e-05/0.4078, allocations: 15.33 kB / 475.6 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.4078, allocations: 0 / 475.6 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.58e-05/0.4078, allocations: 17.41 kB / 475.6 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.4079, allocations: 0.7031 kB / 475.6 MB, free: 11.13 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.994e-05/0.4079, allocations: 108.3 kB / 475.7 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.258e-05/0.408, allocations: 44.67 kB / 475.8 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.304e-05/0.408, allocations: 14.92 kB / 475.8 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.408, allocations: 0 / 475.8 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.408, allocations: 0 / 475.8 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.408, allocations: 7.969 kB / 475.8 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.4081, allocations: 144.6 kB / 476 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4081, allocations: 0 / 476 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.135e-05/0.4082, allocations: 15.22 kB / 476 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4082, allocations: 4 kB / 476 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.4082, allocations: 3.5 kB / 476 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4082, allocations: 0 / 476 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4083, allocations: 3.281 kB / 476 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.261e-05/0.4083, allocations: 189.4 kB / 476.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.801e-05/0.4084, allocations: 91.91 kB / 476.3 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.4084, allocations: 7.328 kB / 476.3 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.789e-05/0.4085, allocations: 0 / 476.3 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.652e-05/0.4085, allocations: 8 kB / 476.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.4085, allocations: 7.844 kB / 476.3 MB, free: 10.45 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.125e-05/0.4086, allocations: 108.4 kB / 476.4 MB, free: 10.36 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002334/0.4088, allocations: 15.73 kB / 476.4 MB, free: 10.35 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.977e-05/0.4089, allocations: 95.25 kB / 476.5 MB, free: 10.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.994e-05/0.409, allocations: 15.69 kB / 476.5 MB, free: 10.23 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.409, allocations: 0 / 476.5 MB, free: 10.23 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.378e-05/0.409, allocations: 12.06 kB / 476.5 MB, free: 10.23 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.4093, allocations: 25.48 kB / 476.5 MB, free: 10.21 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002152/0.4095, allocations: 100.8 kB / 476.6 MB, free: 10.1 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.4096, allocations: 0.709 MB / 477.4 MB, free: 9.371 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4096, allocations: 0 / 477.4 MB, free: 9.371 MB / 346.7 MB Notification: Performance of Templates: time 0.002102/0.4117, allocations: 0.5437 MB / 477.9 MB, free: 9.082 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches