Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.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.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSampleIpo.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSampleIpo.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated") [: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.00165/0.00165, allocations: 199.5 kB / 8.54 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.317/1.317, allocations: 225.5 MB / 234.4 MB, free: 3.328 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008405/0.0008403, allocations: 91.08 kB / 286.3 MB, free: 5.316 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.516e-06/8.556e-06, allocations: 4 kB / 343.1 MB, free: 8.703 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09227/0.09229, allocations: 51.48 MB / 394.6 MB, free: 5.168 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2588/0.3512, allocations: 77.32 MB / 471.9 MB, free: 14.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002041/0.3514, allocations: 76.42 kB / 472 MB, free: 14.14 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.009009/0.3605, allocations: 3.257 MB / 475.3 MB, free: 12.46 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.488e-05/0.3605, allocations: 7.938 kB / 475.3 MB, free: 12.45 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0003989/0.3609, allocations: 385.1 kB / 475.7 MB, free: 12.05 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.361, allocations: 8.031 kB / 475.7 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.3611, allocations: 28.5 kB / 475.7 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.3613, allocations: 196.2 kB / 475.9 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.3614, allocations: 6.875 kB / 475.9 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.3614, allocations: 7.938 kB / 475.9 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001138/0.3615, allocations: 38.66 kB / 475.9 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002789/0.3618, allocations: 180.6 kB / 476.1 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.3618, allocations: 0 / 476.1 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.3618, allocations: 4 kB / 476.1 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.3619, allocations: 8.219 kB / 476.1 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003003/0.3622, allocations: 269 kB / 476.4 MB, free: 11.33 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.304e-05/0.3623, allocations: 84.73 kB / 476.5 MB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.327e-05/0.3623, allocations: 47.77 kB / 476.5 MB, free: 11.19 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.3623, allocations: 2.859 kB / 476.5 MB, free: 11.19 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.404e-05/0.3624, allocations: 36.5 kB / 476.6 MB, free: 11.14 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.3624, allocations: 8 kB / 476.6 MB, free: 11.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002078/0.3626, allocations: 89.75 kB / 476.7 MB, free: 11.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.3626, allocations: 109.8 kB / 476.8 MB, free: 10.94 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.908e-05/0.3627, allocations: 126 kB / 476.9 MB, free: 10.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.3627, allocations: 28.98 kB / 476.9 MB, free: 10.79 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.643e-05/0.3628, allocations: 90.14 kB / 477 MB, free: 10.71 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.3628, allocations: 11.23 kB / 477 MB, free: 10.7 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.3628, allocations: 4.031 kB / 477 MB, free: 10.7 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.976e-05/0.3629, allocations: 321.4 kB / 477.3 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.411e-05/0.3629, allocations: 11 kB / 477.3 MB, free: 10.38 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.951e-05/0.363, allocations: 76.08 kB / 477.4 MB, free: 10.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.016e-05/0.363, allocations: 29.5 kB / 477.4 MB, free: 10.25 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.363, allocations: 4 kB / 477.4 MB, free: 10.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001348/0.3632, allocations: 108.2 kB / 477.6 MB, free: 10.16 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.3632, allocations: 5.875 kB / 477.6 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.3632, allocations: 4.625 kB / 477.6 MB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.3632, allocations: 4 kB / 477.6 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.3633, allocations: 30.66 kB / 477.6 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3633, allocations: 3.766 kB / 477.6 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.854e-05/0.3634, allocations: 12 kB / 477.6 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.3634, allocations: 6.875 kB / 477.6 MB, free: 10.1 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (superSampleIpo.ticks,$CLKPRE.superSampleIpo.ticks,superSampleIpo.usedFactor,superSampleIpo.first,$CLKPRE.superSampleIpo.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 6.785e-05/0.3635, allocations: 115.5 kB / 477.7 MB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.3636, allocations: 82.8 kB / 477.8 MB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.427e-05/0.3637, allocations: 14.25 kB / 477.8 MB, free: 9.914 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.3637, allocations: 4 kB / 477.8 MB, free: 9.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3637, allocations: 0 / 477.8 MB, free: 9.91 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3637, allocations: 0 / 477.8 MB, free: 9.91 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.3639, allocations: 164.8 kB / 478 MB, free: 9.734 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3639, allocations: 0.5625 kB / 478 MB, free: 9.734 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.364, allocations: 30.59 kB / 478 MB, free: 9.711 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.364, allocations: 3.984 kB / 478 MB, free: 9.707 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.364, allocations: 1.375 kB / 478 MB, free: 9.707 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.364, allocations: 4 kB / 478 MB, free: 9.703 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.364, allocations: 0 / 478 MB, free: 9.703 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001595/0.3642, allocations: 230.9 kB / 478.3 MB, free: 9.473 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.057e-05/0.3643, allocations: 99.3 kB / 478.4 MB, free: 9.367 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.3643, allocations: 4 kB / 478.4 MB, free: 9.363 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.3644, allocations: 4 kB / 478.4 MB, free: 9.359 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.3644, allocations: 4 kB / 478.4 MB, free: 9.355 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.3645, allocations: 10.47 kB / 478.4 MB, free: 9.352 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.869e-05/0.3645, allocations: 104.9 kB / 478.5 MB, free: 9.262 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00027/0.3648, allocations: 15.94 kB / 478.5 MB, free: 9.246 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: 3 (superSampleIpo.usedFactor,superSampleIpo.ticks,superSampleIpo.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.000109/0.3649, allocations: 103.2 kB / 478.6 MB, free: 9.137 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001264/0.365, allocations: 57.81 kB / 478.7 MB, free: 9.098 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.365, allocations: 3.938 kB / 478.7 MB, free: 9.094 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.252e-05/0.3651, allocations: 4.062 kB / 478.7 MB, free: 9.09 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.3654, allocations: 47.84 kB / 478.7 MB, free: 9.062 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003067/0.3657, allocations: 140.2 kB / 478.8 MB, free: 8.918 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.3659, allocations: 0.7225 MB / 479.6 MB, free: 8.188 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3659, allocations: 6.094 kB / 479.6 MB, free: 8.184 MB / 346.7 MB Notification: Performance of Templates: time 0.003151/0.369, allocations: 0.887 MB / 480.5 MB, free: 7.688 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches