Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 186.1 kB / 8.136 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 221.4 MB / 229.9 MB, free: 3.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000943/0.000943, allocations: 101.7 kB / 280.8 MB, free: 1.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.711e-06/5.731e-06, allocations: 0 / 336.5 MB, free: 9.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1948, allocations: 50.38 MB / 386.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0817/0.2766, allocations: 76.51 MB / 463.4 MB, free: 10.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000201/0.2768, allocations: 79.94 kB / 463.5 MB, free: 10.22 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.009633/0.2864, allocations: 3.152 MB / 466.7 MB, free: 7.109 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.2865, allocations: 4 kB / 466.7 MB, free: 7.105 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.0004268/0.2869, allocations: 382.2 kB / 467 MB, free: 6.688 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.287, allocations: 8.031 kB / 467 MB, free: 6.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.352e-05/0.287, allocations: 15.75 kB / 467.1 MB, free: 6.664 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.2873, allocations: 205.8 kB / 467.3 MB, free: 6.426 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.2873, allocations: 7.906 kB / 467.3 MB, free: 6.418 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.2873, allocations: 4 kB / 467.3 MB, free: 6.414 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001116/0.2874, allocations: 39.98 kB / 467.3 MB, free: 6.375 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003006/0.2877, allocations: 197.2 kB / 467.5 MB, free: 6.164 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.2878, allocations: 0 / 467.5 MB, free: 6.164 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.2878, allocations: 2.531 kB / 467.5 MB, free: 6.164 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.2878, allocations: 4 kB / 467.5 MB, free: 6.16 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003962/0.2882, allocations: 271.1 kB / 467.8 MB, free: 5.852 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.2883, allocations: 83.83 kB / 467.8 MB, free: 5.742 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.331e-05/0.2884, allocations: 38.64 kB / 467.9 MB, free: 5.695 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.2884, allocations: 7.984 kB / 467.9 MB, free: 5.688 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.2885, allocations: 38.56 kB / 467.9 MB, free: 5.641 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.2885, allocations: 0 / 467.9 MB, free: 5.641 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002311/0.2887, allocations: 85.53 kB / 468 MB, free: 5.551 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.053e-05/0.2888, allocations: 118.7 kB / 468.1 MB, free: 5.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.2889, allocations: 129 kB / 468.3 MB, free: 5.277 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.2889, allocations: 25.7 kB / 468.3 MB, free: 5.246 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.675e-05/0.289, allocations: 92.03 kB / 468.4 MB, free: 5.152 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.289, allocations: 15.89 kB / 468.4 MB, free: 5.137 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/0.289, allocations: 0 / 468.4 MB, free: 5.137 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.2891, allocations: 318.8 kB / 468.7 MB, free: 4.816 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.094e-05/0.2892, allocations: 12 kB / 468.7 MB, free: 4.805 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.448e-05/0.2892, allocations: 81.45 kB / 468.8 MB, free: 4.691 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.847e-05/0.2893, allocations: 27.92 kB / 468.8 MB, free: 4.664 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2893, allocations: 0 / 468.8 MB, free: 4.664 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001587/0.2895, allocations: 105.4 kB / 468.9 MB, free: 4.555 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.2895, allocations: 4 kB / 468.9 MB, free: 4.551 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.2895, allocations: 4.344 kB / 468.9 MB, free: 4.547 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.2895, allocations: 11.94 kB / 468.9 MB, free: 4.535 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.2896, allocations: 23.98 kB / 469 MB, free: 4.512 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.2897, allocations: 11.84 kB / 469 MB, free: 4.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.999e-05/0.2897, allocations: 11.92 kB / 469 MB, free: 4.488 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.2898, allocations: 9.031 kB / 469 MB, free: 4.48 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 8.928e-05/0.2899, allocations: 105 kB / 469.1 MB, free: 4.371 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.29, allocations: 85.44 kB / 469.2 MB, free: 4.281 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.701e-05/0.29, allocations: 20.17 kB / 469.2 MB, free: 4.258 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.2901, allocations: 0 / 469.2 MB, free: 4.258 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2901, allocations: 0 / 469.2 MB, free: 4.258 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.2901, allocations: 4 kB / 469.2 MB, free: 4.254 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.2902, allocations: 154.1 kB / 469.4 MB, free: 4.066 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2902, allocations: 4 kB / 469.4 MB, free: 4.062 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.2904, allocations: 19.98 kB / 469.4 MB, free: 4.043 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.2904, allocations: 0 / 469.4 MB, free: 4.043 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.2904, allocations: 10.23 kB / 469.4 MB, free: 4.035 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2904, allocations: 4 kB / 469.4 MB, free: 4.031 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.2904, allocations: 0 / 469.4 MB, free: 4.031 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001995/0.2906, allocations: 234.3 kB / 469.6 MB, free: 3.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.499e-05/0.2907, allocations: 104.8 kB / 469.7 MB, free: 3.648 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.2907, allocations: 11.98 kB / 469.7 MB, free: 3.637 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.2908, allocations: 4 kB / 469.7 MB, free: 3.633 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-05/0.2909, allocations: 0 / 469.7 MB, free: 3.633 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.2909, allocations: 8 kB / 469.7 MB, free: 3.625 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.525e-05/0.2909, allocations: 106.4 kB / 469.9 MB, free: 3.523 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002494/0.2912, allocations: 15.98 kB / 469.9 MB, free: 3.508 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.0001006/0.2913, allocations: 103.2 kB / 470 MB, free: 3.395 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001124/0.2914, allocations: 55.94 kB / 470 MB, free: 3.34 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2914, allocations: 0 / 470 MB, free: 3.34 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.343e-05/0.2914, allocations: 4 kB / 470 MB, free: 3.336 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.2917, allocations: 47.81 kB / 470.1 MB, free: 3.289 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003224/0.2921, allocations: 143 kB / 470.2 MB, free: 3.121 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002806/0.2924, allocations: 0.7276 MB / 470.9 MB, free: 2.367 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2924, allocations: 0 / 470.9 MB, free: 2.367 MB / 346.7 MB Notification: Performance of Templates: time 0.002776/0.2952, allocations: 0.8894 MB / 471.8 MB, free: 1.508 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches