Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.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.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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 4.0.0+maint.om/package.mo): time 0.0009765/0.0009765, allocations: 186.9 kB / 8.139 MB, free: 2.215 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.18/1.18, allocations: 221.4 MB / 229.9 MB, free: 3.016 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.001079/0.001079, allocations: 109.5 kB / 280.8 MB, free: 1.234 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.282e-06/6.382e-06, allocations: 0 / 336.5 MB, free: 9.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1881, allocations: 50.39 MB / 386.9 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08697/0.2751, allocations: 80.29 MB / 467.2 MB, free: 6.531 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.2754, allocations: 83.92 kB / 467.3 MB, free: 6.453 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01797/0.2933, allocations: 6.265 MB / 473.6 MB, free: 232 kB / 346.7 MB Notification: Performance of Transformations before backend: time 2.103e-05/0.2934, allocations: 7.938 kB / 473.6 MB, free: 224 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005731/0.294, allocations: 0.4916 MB / 474.1 MB, free: 15.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.294, allocations: 8.031 kB / 474.1 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.873e-05/0.2941, allocations: 23.72 kB / 474.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004277/0.2945, allocations: 288.2 kB / 474.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.2945, allocations: 0 / 474.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.2946, allocations: 8 kB / 474.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001237/0.2947, allocations: 35.98 kB / 474.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003303/0.2951, allocations: 151.5 kB / 474.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2951, allocations: 0 / 474.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.2951, allocations: 4 kB / 474.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2951, allocations: 4 kB / 474.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006563/0.2958, allocations: 375 kB / 474.9 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.296, allocations: 115.9 kB / 475 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.623e-05/0.2961, allocations: 46.7 kB / 475.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.2961, allocations: 0 / 475.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001265/0.2962, allocations: 79.33 kB / 475.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.2963, allocations: 0 / 475.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002788/0.2965, allocations: 109.3 kB / 475.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.23e-05/0.2966, allocations: 158.2 kB / 475.4 MB, free: 14.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003681/0.297, allocations: 289 kB / 475.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.768e-05/0.2971, allocations: 25.7 kB / 475.7 MB, free: 13.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.729e-05/0.2971, allocations: 108 kB / 475.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.2972, allocations: 19.88 kB / 475.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-06/0.2972, allocations: 0 / 475.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.2973, allocations: 330.8 kB / 476.2 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.964e-05/0.2974, allocations: 20 kB / 476.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.2975, allocations: 93.52 kB / 476.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.591e-05/0.2976, allocations: 31.92 kB / 476.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2976, allocations: 0 / 476.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002477/0.2978, allocations: 113.3 kB / 476.4 MB, free: 13.03 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.2979, allocations: 4 kB / 476.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.2979, allocations: 4 kB / 476.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.2979, allocations: 128 / 476.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.298, allocations: 23.94 kB / 476.5 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.2981, allocations: 3.984 kB / 476.5 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.2982, allocations: 7.906 kB / 476.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.2982, allocations: 4 kB / 476.5 MB, free: 12.98 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.851e-05/0.2983, allocations: 109.8 kB / 476.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.2984, allocations: 65.34 kB / 476.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002186/0.2986, allocations: 114.2 kB / 476.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.2986, allocations: 4 kB / 476.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2986, allocations: 0 / 476.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2987, allocations: 0 / 476.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.2989, allocations: 230 kB / 477 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2989, allocations: 0 / 477 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.631e-05/0.2989, allocations: 19.92 kB / 477 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.299, allocations: 0.9688 kB / 477 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.299, allocations: 8 kB / 477 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.299, allocations: 0 / 477 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.299, allocations: 0 / 477 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002084/0.2992, allocations: 185.8 kB / 477.2 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.2993, allocations: 124.7 kB / 477.3 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.806e-05/0.2994, allocations: 4 kB / 477.3 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.924e-05/0.2995, allocations: 8 kB / 477.3 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/0.2995, allocations: 7.984 kB / 477.3 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.2995, allocations: 11.98 kB / 477.4 MB, free: 12 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002199/0.2998, allocations: 221.2 kB / 477.6 MB, free: 11.78 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002916/0.3001, allocations: 44 kB / 477.6 MB, free: 11.73 MB / 362.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: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006576/0.3007, allocations: 336 kB / 477.9 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001907/0.3009, allocations: 79.91 kB / 478 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3009, allocations: 0 / 478 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.939e-05/0.301, allocations: 28 kB / 478 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.3013, allocations: 66 kB / 478.1 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005236/0.3019, allocations: 274.2 kB / 478.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003586/0.3022, allocations: 0.7744 MB / 479.2 MB, free: 10.22 MB / 362.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3023, allocations: 0 / 479.2 MB, free: 10.22 MB / 362.7 MB Notification: Performance of Templates: time 0.005542/0.3078, allocations: 2.541 MB / 481.7 MB, free: 7.715 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches