Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.0009604/0.0009604, allocations: 179.4 kB / 8.135 MB, free: 2.211 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.159/1.159, allocations: 221.4 MB / 229.9 MB, free: 3.012 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.0008932/0.0008932, allocations: 102.1 kB / 280.8 MB, free: 1.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.981e-06/6.092e-06, allocations: 0 / 336.5 MB, free: 9.504 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1914, allocations: 50.39 MB / 386.9 MB, free: 38.03 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09903/0.2905, allocations: 80.27 MB / 467.2 MB, free: 6.539 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001976/0.2907, allocations: 87.88 kB / 467.3 MB, free: 6.453 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01754/0.3083, allocations: 6.117 MB / 473.4 MB, free: 392 kB / 346.7 MB Notification: Performance of Transformations before backend: time 2.086e-05/0.3083, allocations: 4 kB / 473.4 MB, free: 388 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.0005941/0.3089, allocations: 475.5 kB / 473.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.309, allocations: 8.031 kB / 473.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.916e-05/0.309, allocations: 19.81 kB / 473.9 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003867/0.3094, allocations: 261.6 kB / 474.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.3095, allocations: 8 kB / 474.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.3095, allocations: 5.969 kB / 474.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001035/0.3096, allocations: 39.92 kB / 474.2 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/0.3098, allocations: 130.8 kB / 474.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.3099, allocations: 0 / 474.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.3099, allocations: 11.91 kB / 474.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.3099, allocations: 0 / 474.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/0.3104, allocations: 343 kB / 474.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.3105, allocations: 103.9 kB / 474.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.997e-05/0.3106, allocations: 38.7 kB / 474.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.312e-05/0.3106, allocations: 8.062 kB / 474.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001043/0.3107, allocations: 75.33 kB / 474.9 MB, free: 14.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.3108, allocations: 0 / 474.9 MB, free: 14.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002293/0.311, allocations: 101.4 kB / 475 MB, free: 14.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.706e-05/0.3111, allocations: 132.4 kB / 475.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.3113, allocations: 228.1 kB / 475.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.3114, allocations: 25.7 kB / 475.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.027e-05/0.3114, allocations: 108.1 kB / 475.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.3115, allocations: 15.8 kB / 475.5 MB, free: 14.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-06/0.3115, allocations: 0 / 475.5 MB, free: 14.03 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.3116, allocations: 326.8 kB / 475.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.699e-05/0.3117, allocations: 16 kB / 475.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.692e-05/0.3117, allocations: 68.06 kB / 475.9 MB, free: 13.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.835e-05/0.3118, allocations: 31.95 kB / 475.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3118, allocations: 0 / 475.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001571/0.312, allocations: 101.3 kB / 476 MB, free: 13.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.312, allocations: 4 kB / 476 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.312, allocations: 0 / 476 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.312, allocations: 12.11 kB / 476 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.445e-05/0.3121, allocations: 15.94 kB / 476 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3121, allocations: 5.375 kB / 476.1 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.4e-05/0.3122, allocations: 4 kB / 476.1 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.3122, allocations: 7.984 kB / 476.1 MB, free: 13.41 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 0.0001038/0.3123, allocations: 108.9 kB / 476.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.405e-05/0.3124, allocations: 57.45 kB / 476.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001842/0.3126, allocations: 102.4 kB / 476.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.3126, allocations: 0 / 476.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3126, allocations: 0 / 476.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3126, allocations: 8.562 kB / 476.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.3128, allocations: 210.1 kB / 476.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3128, allocations: 0 / 476.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.807e-05/0.3129, allocations: 8.062 kB / 476.5 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.3129, allocations: 11.98 kB / 476.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.3129, allocations: 0 / 476.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3129, allocations: 0 / 476.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.3129, allocations: 15.92 kB / 476.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001839/0.3131, allocations: 169.8 kB / 476.7 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.426e-05/0.3132, allocations: 112.9 kB / 476.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.254e-05/0.3132, allocations: 3.938 kB / 476.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.103e-05/0.3133, allocations: 8 kB / 476.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.3133, allocations: 7.984 kB / 476.9 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.3134, allocations: 4 kB / 476.9 MB, free: 12.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001638/0.3135, allocations: 184.5 kB / 477.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002587/0.3138, allocations: 31.91 kB / 477.1 MB, free: 12.27 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.0007003/0.3145, allocations: 317.7 kB / 477.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001756/0.3147, allocations: 71.86 kB / 477.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3147, allocations: 0 / 477.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.711e-05/0.3148, allocations: 27.98 kB / 477.5 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.3151, allocations: 44.19 kB / 477.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004633/0.3156, allocations: 237.6 kB / 477.8 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003469/0.3159, allocations: 0.7509 MB / 478.5 MB, free: 10.87 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.316, allocations: 0 / 478.5 MB, free: 10.87 MB / 362.7 MB Notification: Performance of Templates: time 0.005367/0.3213, allocations: 2.201 MB / 480.7 MB, free: 8.695 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches