Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001433/0.001433, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.603/1.603, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001121/0.001121, allocations: 105.8 kB / 296.7 MB, free: 6.457 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 47.92 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3403, allocations: 50.46 MB / 407.1 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.003213/0.3436, allocations: 1.534 MB / 408.6 MB, free: 26.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002083/0.3438, allocations: 39.91 kB / 408.6 MB, free: 26.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.955e-05/0.3439, allocations: 0 / 408.6 MB, free: 26.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.881e-05/0.344, allocations: 3.938 kB / 408.6 MB, free: 26.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.891e-05/0.344, allocations: 3.219 kB / 408.6 MB, free: 26.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002991/0.3444, allocations: 27.91 kB / 408.7 MB, free: 26.21 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.618e-05/0.3445, allocations: 35.92 kB / 408.7 MB, free: 26.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.638e-05/0.3446, allocations: 4 kB / 408.7 MB, free: 26.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.147e-05/0.3447, allocations: 15.92 kB / 408.7 MB, free: 26.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.736e-05/0.3447, allocations: 19.92 kB / 408.7 MB, free: 26.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.3448, allocations: 0 / 408.7 MB, free: 26.14 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.586e-05/0.3448, allocations: 6.438 kB / 408.7 MB, free: 26.14 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.658e-05/0.3448, allocations: 15.91 kB / 408.8 MB, free: 26.12 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.604e-05/0.3449, allocations: 11.94 kB / 408.8 MB, free: 26.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.345, allocations: 35.88 kB / 408.8 MB, free: 26.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.345, allocations: 0 / 408.8 MB, free: 26.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.345, allocations: 3.938 kB / 408.8 MB, free: 26.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.377e-06/0.345, allocations: 6.625 kB / 408.8 MB, free: 26.07 MB / 298.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.0005926/0.3456, allocations: 353 kB / 409.2 MB, free: 25.67 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.3457, allocations: 8.594 kB / 409.2 MB, free: 25.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.062e-05/0.3457, allocations: 8.844 kB / 409.2 MB, free: 25.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.3459, allocations: 184.2 kB / 409.4 MB, free: 25.44 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.346, allocations: 384 / 409.4 MB, free: 25.44 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.346, allocations: 8.375 kB / 409.4 MB, free: 25.43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007071/0.3467, allocations: 159.7 kB / 409.5 MB, free: 25.26 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3467, allocations: 192 / 409.5 MB, free: 25.26 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.3468, allocations: 3.938 kB / 409.5 MB, free: 25.26 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.3468, allocations: 0 / 409.5 MB, free: 25.26 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003295/0.3471, allocations: 47.94 kB / 409.6 MB, free: 25.21 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.3473, allocations: 165.7 kB / 409.7 MB, free: 25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003849/0.3477, allocations: 82.5 kB / 409.8 MB, free: 24.91 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.3479, allocations: 40.84 kB / 409.9 MB, free: 24.87 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.3479, allocations: 0 / 409.9 MB, free: 24.87 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.3479, allocations: 30.56 kB / 409.9 MB, free: 24.83 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.3479, allocations: 0 / 409.9 MB, free: 24.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0005832/0.3485, allocations: 121.5 kB / 410 MB, free: 24.7 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.3486, allocations: 59.41 kB / 410.1 MB, free: 24.63 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.786e-05/0.3487, allocations: 109.8 kB / 410.2 MB, free: 24.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.3487, allocations: 25.7 kB / 410.2 MB, free: 24.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.345e-05/0.3487, allocations: 84.14 kB / 410.3 MB, free: 24.4 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.3487, allocations: 7.844 kB / 410.3 MB, free: 24.39 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-05/0.3488, allocations: 21.66 kB / 410.3 MB, free: 24.36 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.351e-05/0.3489, allocations: 322.8 kB / 410.6 MB, free: 24.04 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.73e-05/0.3489, allocations: 4 kB / 410.6 MB, free: 24.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.72e-05/0.3489, allocations: 31.44 kB / 410.7 MB, free: 23.99 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.673e-05/0.349, allocations: 39.36 kB / 410.7 MB, free: 23.94 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.349, allocations: 0 / 410.7 MB, free: 23.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001086/0.3491, allocations: 65.75 kB / 410.8 MB, free: 23.87 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.3491, allocations: 8 kB / 410.8 MB, free: 23.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3491, allocations: 3.938 kB / 410.8 MB, free: 23.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.3492, allocations: 3.984 kB / 410.8 MB, free: 23.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.571e-05/0.3492, allocations: 8 kB / 410.8 MB, free: 23.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.3493, allocations: 4 kB / 410.8 MB, free: 23.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.242e-05/0.3493, allocations: 3.938 kB / 410.8 MB, free: 23.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-06/0.3493, allocations: 4 kB / 410.8 MB, free: 23.84 MB / 298.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: 2 ($CLKPRE.ramp.counter,ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.721e-05/0.3494, allocations: 119.4 kB / 410.9 MB, free: 23.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003598/0.3498, allocations: 89.53 kB / 411 MB, free: 23.62 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.595e-05/0.3498, allocations: 15.84 kB / 411 MB, free: 23.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3498, allocations: 0 / 411 MB, free: 23.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3498, allocations: 128 / 411 MB, free: 23.59 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.3499, allocations: 4 kB / 411 MB, free: 23.59 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.281e-05/0.3499, allocations: 157.7 kB / 411.2 MB, free: 23.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.35, allocations: 0 / 411.2 MB, free: 23.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.3501, allocations: 19.97 kB / 411.2 MB, free: 23.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3501, allocations: 0 / 411.2 MB, free: 23.36 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.3501, allocations: 7.938 kB / 411.2 MB, free: 23.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3501, allocations: 3.938 kB / 411.2 MB, free: 23.35 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3501, allocations: 0 / 411.2 MB, free: 23.35 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007167/0.3509, allocations: 0.6941 MB / 411.9 MB, free: 22.6 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.785e-05/0.3509, allocations: 81.09 kB / 412 MB, free: 22.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.3509, allocations: 3.938 kB / 412 MB, free: 22.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.685e-05/0.351, allocations: 19.98 kB / 412 MB, free: 22.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-06/0.3511, allocations: 0 / 412 MB, free: 22.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-06/0.3511, allocations: 0 / 412 MB, free: 22.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.29e-05/0.3511, allocations: 79.28 kB / 412.1 MB, free: 22.4 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3511, allocations: 0 / 412.1 MB, free: 22.4 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005394/0.3517, allocations: 12 kB / 412.1 MB, free: 22.39 MB / 298.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: 1 (ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.counter) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000109/0.3518, allocations: 99.23 kB / 412.2 MB, free: 22.28 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002662/0.3521, allocations: 44.03 kB / 412.2 MB, free: 22.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3521, allocations: 4 kB / 412.2 MB, free: 22.23 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-07/0.3521, allocations: 0 / 412.2 MB, free: 22.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000611/0.3527, allocations: 39.92 kB / 412.3 MB, free: 22.2 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004795/0.3532, allocations: 242.2 kB / 412.5 MB, free: 21.92 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.3533, allocations: 0.6848 MB / 413.2 MB, free: 21.21 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.637e-05/0.3534, allocations: 4.125 kB / 413.2 MB, free: 21.2 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.09e-05/0.3534, allocations: 11.44 kB / 413.2 MB, free: 21.19 MB / 298.7 MB Notification: Performance of SimCode: time 3e-07/0.3534, allocations: 3.938 kB / 413.2 MB, free: 21.19 MB / 298.7 MB Notification: Performance of Templates: time 0.003148/0.3566, allocations: 0.522 MB / 413.7 MB, free: 20.67 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches