Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [: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.0009552/0.0009552, allocations: 184 kB / 8.138 MB, free: 2.219 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.197/1.197, allocations: 221.4 MB / 229.9 MB, free: 3.09 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.0009463/0.0009464, allocations: 106.3 kB / 280.8 MB, free: 1.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.338e-05/1.357e-05, allocations: 8 kB / 336.5 MB, free: 9.598 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2249, allocations: 50.4 MB / 386.9 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08276/0.3077, allocations: 76.28 MB / 463.2 MB, free: 10.56 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/0.308, allocations: 83.89 kB / 463.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.005602/0.3136, allocations: 1.779 MB / 465.1 MB, free: 8.727 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.366e-05/0.3136, allocations: 7.938 kB / 465.1 MB, free: 8.719 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.000387/0.314, allocations: 354.4 kB / 465.4 MB, free: 8.328 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.3141, allocations: 8.031 kB / 465.4 MB, free: 8.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.985e-05/0.3141, allocations: 7.906 kB / 465.4 MB, free: 8.312 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.3144, allocations: 202.7 kB / 465.6 MB, free: 8.074 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.3144, allocations: 0.8438 kB / 465.6 MB, free: 8.074 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.3144, allocations: 4 kB / 465.6 MB, free: 8.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.294e-05/0.3145, allocations: 20 kB / 465.7 MB, free: 8.051 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.3147, allocations: 101.9 kB / 465.8 MB, free: 7.93 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.3147, allocations: 3.938 kB / 465.8 MB, free: 7.926 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.3148, allocations: 0 / 465.8 MB, free: 7.926 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3148, allocations: 0 / 465.8 MB, free: 7.926 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003916/0.3152, allocations: 263.1 kB / 466 MB, free: 7.625 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.106e-05/0.3153, allocations: 63.8 kB / 466.1 MB, free: 7.535 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.557e-05/0.3153, allocations: 29.08 kB / 466.1 MB, free: 7.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.3153, allocations: 0 / 466.1 MB, free: 7.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.3154, allocations: 30.56 kB / 466.1 MB, free: 7.461 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3154, allocations: 0 / 466.1 MB, free: 7.461 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001695/0.3156, allocations: 61.53 kB / 466.2 MB, free: 7.395 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.3156, allocations: 108.1 kB / 466.3 MB, free: 7.266 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.3157, allocations: 126.7 kB / 466.4 MB, free: 7.137 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.3158, allocations: 25.7 kB / 466.4 MB, free: 7.105 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.543e-05/0.3158, allocations: 92.05 kB / 466.5 MB, free: 7.012 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.368e-05/0.3159, allocations: 0 / 466.5 MB, free: 7.012 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.3159, allocations: 0 / 466.5 MB, free: 7.012 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.316, allocations: 322.9 kB / 466.9 MB, free: 6.688 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.605e-05/0.316, allocations: 7.938 kB / 466.9 MB, free: 6.68 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.953e-05/0.316, allocations: 27.44 kB / 466.9 MB, free: 6.641 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.211e-05/0.3161, allocations: 7.938 kB / 466.9 MB, free: 6.633 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3161, allocations: 0 / 466.9 MB, free: 6.633 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.526e-05/0.3162, allocations: 65.53 kB / 467 MB, free: 6.562 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.3162, allocations: 4 kB / 467 MB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3162, allocations: 0 / 467 MB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.3162, allocations: 0 / 467 MB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.334e-05/0.3163, allocations: 15.98 kB / 467 MB, free: 6.543 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.3163, allocations: 0 / 467 MB, free: 6.543 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.788e-05/0.3164, allocations: 10.53 kB / 467 MB, free: 6.535 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.3164, allocations: 4.125 kB / 467 MB, free: 6.531 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 6.815e-05/0.3165, allocations: 108.9 kB / 467.1 MB, free: 6.418 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.43e-05/0.3165, allocations: 49.59 kB / 467.1 MB, free: 6.363 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.74e-05/0.3166, allocations: 12.41 kB / 467.2 MB, free: 6.352 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3166, allocations: 0 / 467.2 MB, free: 6.352 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3166, allocations: 0 / 467.2 MB, free: 6.352 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.3166, allocations: 0 / 467.2 MB, free: 6.352 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.3168, allocations: 162 kB / 467.3 MB, free: 6.156 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3168, allocations: 64 / 467.3 MB, free: 6.156 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.417e-05/0.3169, allocations: 15.94 kB / 467.3 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3169, allocations: 4.75 kB / 467.3 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.3169, allocations: 0 / 467.3 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3169, allocations: 0 / 467.3 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.3169, allocations: 3.984 kB / 467.3 MB, free: 6.133 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001329/0.317, allocations: 192.5 kB / 467.5 MB, free: 5.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.855e-05/0.3171, allocations: 93 kB / 467.6 MB, free: 5.801 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.3171, allocations: 4 kB / 467.6 MB, free: 5.797 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.576e-05/0.3172, allocations: 0 / 467.6 MB, free: 5.797 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.618e-05/0.3172, allocations: 4.938 kB / 467.6 MB, free: 5.793 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.3173, allocations: 5.859 kB / 467.6 MB, free: 5.789 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.798e-05/0.3173, allocations: 110.5 kB / 467.7 MB, free: 5.684 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002218/0.3175, allocations: 11.91 kB / 467.8 MB, free: 5.672 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 9.799e-05/0.3176, allocations: 99.19 kB / 467.9 MB, free: 5.562 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.846e-05/0.3177, allocations: 16 kB / 467.9 MB, free: 5.547 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.3177, allocations: 0 / 467.9 MB, free: 5.547 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.685e-05/0.3178, allocations: 11.94 kB / 467.9 MB, free: 5.535 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.318, allocations: 24.59 kB / 467.9 MB, free: 5.512 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002473/0.3183, allocations: 113.3 kB / 468 MB, free: 5.367 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002492/0.3185, allocations: 0.7114 MB / 468.7 MB, free: 4.629 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3185, allocations: 0 / 468.7 MB, free: 4.629 MB / 346.7 MB Notification: Performance of Templates: time 0.0023/0.3208, allocations: 0.5412 MB / 469.3 MB, free: 4.102 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches