Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") [: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.001521/0.001522, allocations: 203.5 kB / 8.541 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 225.5 MB / 234.4 MB, free: 14.92 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009955/0.0009952, allocations: 96.78 kB / 286.3 MB, free: 12.6 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.737e-06/9.097e-06, allocations: 0 / 343.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2234, allocations: 51.47 MB / 394.6 MB, free: 33.15 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09175/0.3152, allocations: 76.53 MB / 471.1 MB, free: 4.488 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/0.3155, allocations: 79.95 kB / 471.2 MB, free: 4.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.003158/0.3186, allocations: 0.8389 MB / 472.1 MB, free: 3.586 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.3187, allocations: 5.031 kB / 472.1 MB, free: 3.582 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000377/0.3191, allocations: 346.3 kB / 472.4 MB, free: 3.199 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.3191, allocations: 8.031 kB / 472.4 MB, free: 3.191 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.484e-05/0.3192, allocations: 4 kB / 472.4 MB, free: 3.188 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.3194, allocations: 174.9 kB / 472.6 MB, free: 2.977 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.3194, allocations: 0 / 472.6 MB, free: 2.977 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.3194, allocations: 4 kB / 472.6 MB, free: 2.973 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.351e-05/0.3195, allocations: 23.98 kB / 472.6 MB, free: 2.949 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.3197, allocations: 91.33 kB / 472.7 MB, free: 2.848 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3197, allocations: 0 / 472.7 MB, free: 2.848 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.3198, allocations: 7.906 kB / 472.7 MB, free: 2.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.3198, allocations: 0.8438 kB / 472.7 MB, free: 2.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001278/0.3199, allocations: 138.2 kB / 472.8 MB, free: 2.668 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.32, allocations: 50.55 kB / 472.9 MB, free: 2.609 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.428e-05/0.3201, allocations: 20.98 kB / 472.9 MB, free: 2.586 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.3201, allocations: 0 / 472.9 MB, free: 2.586 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.3201, allocations: 30.56 kB / 472.9 MB, free: 2.547 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.3202, allocations: 3.938 kB / 472.9 MB, free: 2.543 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.000171/0.3203, allocations: 53.61 kB / 473 MB, free: 2.484 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.3204, allocations: 55.39 kB / 473.1 MB, free: 2.418 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.899e-05/0.3205, allocations: 95.98 kB / 473.1 MB, free: 2.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.3205, allocations: 29.7 kB / 473.2 MB, free: 2.285 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.99e-05/0.3205, allocations: 84.14 kB / 473.3 MB, free: 2.199 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.897e-06/0.3205, allocations: 0 / 473.3 MB, free: 2.199 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-06/0.3205, allocations: 3.938 kB / 473.3 MB, free: 2.195 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.3207, allocations: 318.8 kB / 473.6 MB, free: 1.875 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.072e-05/0.3207, allocations: 4 kB / 473.6 MB, free: 1.871 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.644e-05/0.3207, allocations: 23.44 kB / 473.6 MB, free: 1.836 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.816e-05/0.3207, allocations: 12 kB / 473.6 MB, free: 1.824 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3207, allocations: 0 / 473.6 MB, free: 1.824 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.444e-05/0.3208, allocations: 53.53 kB / 473.7 MB, free: 1.766 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.3208, allocations: 4 kB / 473.7 MB, free: 1.762 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3209, allocations: 0 / 473.7 MB, free: 1.762 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.3209, allocations: 0 / 473.7 MB, free: 1.762 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.799e-05/0.3209, allocations: 12.12 kB / 473.7 MB, free: 1.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.3209, allocations: 0 / 473.7 MB, free: 1.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.226e-05/0.321, allocations: 8.641 kB / 473.7 MB, free: 1.742 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.321, allocations: 0 / 473.7 MB, free: 1.742 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 8.059e-05/0.3211, allocations: 113.8 kB / 473.8 MB, free: 1.625 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.537e-05/0.3211, allocations: 53.69 kB / 473.9 MB, free: 1.566 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.324e-05/0.3212, allocations: 4 kB / 473.9 MB, free: 1.559 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.3212, allocations: 3.906 kB / 473.9 MB, free: 1.555 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.3212, allocations: 4.641 kB / 473.9 MB, free: 1.551 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.3212, allocations: 8 kB / 473.9 MB, free: 1.543 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.811e-05/0.3213, allocations: 130.2 kB / 474 MB, free: 1.379 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3213, allocations: 0 / 474 MB, free: 1.379 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.913e-05/0.3214, allocations: 15.98 kB / 474 MB, free: 1.363 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.3214, allocations: 4 kB / 474 MB, free: 1.359 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.3214, allocations: 0 / 474 MB, free: 1.359 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3214, allocations: 0.8438 kB / 474 MB, free: 1.359 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.3214, allocations: 3.906 kB / 474 MB, free: 1.355 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001138/0.3216, allocations: 81.06 kB / 474.1 MB, free: 1.258 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.3216, allocations: 85 kB / 474.2 MB, free: 1.156 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.3216, allocations: 3.938 kB / 474.2 MB, free: 1.152 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.065e-05/0.3217, allocations: 8 kB / 474.2 MB, free: 1.145 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-06/0.3217, allocations: 0 / 474.2 MB, free: 1.145 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.3217, allocations: 4 kB / 474.2 MB, free: 1.141 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.417e-05/0.3218, allocations: 92.91 kB / 474.3 MB, free: 1.051 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001903/0.322, allocations: 4.562 kB / 474.3 MB, free: 1.047 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 0.0001266/0.3221, allocations: 95.25 kB / 474.4 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.48e-05/0.3222, allocations: 19.94 kB / 474.4 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3222, allocations: 0 / 474.4 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.71e-07/0.3222, allocations: 0 / 474.4 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.3225, allocations: 36.11 kB / 474.4 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002049/0.3227, allocations: 63.8 kB / 474.5 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003084/0.323, allocations: 0.6915 MB / 475.2 MB, free: 92 kB / 346.7 MB Notification: Performance of SimCode: time 2.044e-06/0.323, allocations: 4 kB / 475.2 MB, free: 88 kB / 346.7 MB Notification: Performance of Templates: time 0.002447/0.3255, allocations: 363.1 kB / 475.6 MB, free: 15.75 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches