Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001874/0.001875, allocations: 106.5 kB / 17.06 MB, free: 6.121 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002314/0.002315, allocations: 194.9 kB / 18 MB, free: 5.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 51.92 kB / 351.3 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3621, allocations: 49.43 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.003624/0.3658, allocations: 1.475 MB / 402.2 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002656/0.3661, allocations: 31.84 kB / 402.2 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.984e-05/0.3662, allocations: 4 kB / 402.2 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.73e-05/0.3663, allocations: 3.938 kB / 402.2 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.616e-05/0.3664, allocations: 3.938 kB / 402.2 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.3667, allocations: 23.98 kB / 402.3 MB, free: 7.312 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.3668, allocations: 43.83 kB / 402.3 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.367, allocations: 11.98 kB / 402.3 MB, free: 7.258 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.599e-05/0.3671, allocations: 15.92 kB / 402.3 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.902e-05/0.3671, allocations: 23.92 kB / 402.4 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.3672, allocations: 4 kB / 402.4 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.425e-05/0.3672, allocations: 4 kB / 402.4 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.856e-05/0.3672, allocations: 11.92 kB / 402.4 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.979e-05/0.3673, allocations: 15.92 kB / 402.4 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.3674, allocations: 31.89 kB / 402.4 MB, free: 7.152 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3674, allocations: 0 / 402.4 MB, free: 7.152 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.332e-06/0.3674, allocations: 3.984 kB / 402.4 MB, free: 7.148 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.3674, allocations: 3.938 kB / 402.4 MB, free: 7.145 MB / 318.1 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.0006262/0.3681, allocations: 359.2 kB / 402.8 MB, free: 6.746 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.3681, allocations: 16.03 kB / 402.8 MB, free: 6.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.159e-05/0.3681, allocations: 4.844 kB / 402.8 MB, free: 6.727 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.3684, allocations: 180.3 kB / 403 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.3684, allocations: 384 / 403 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.3684, allocations: 4.375 kB / 403 MB, free: 6.508 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005697/0.369, allocations: 155.8 kB / 403.1 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.369, allocations: 4.188 kB / 403.1 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.3691, allocations: 3.938 kB / 403.1 MB, free: 6.336 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.3691, allocations: 3.984 kB / 403.1 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002624/0.3693, allocations: 47.89 kB / 403.2 MB, free: 6.285 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001438/0.3695, allocations: 157.7 kB / 403.3 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003442/0.3698, allocations: 86.5 kB / 403.4 MB, free: 5.988 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.37, allocations: 36.91 kB / 403.5 MB, free: 5.949 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-06/0.37, allocations: 8 kB / 403.5 MB, free: 5.941 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.3701, allocations: 30.56 kB / 403.5 MB, free: 5.902 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3701, allocations: 0 / 403.5 MB, free: 5.902 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.000536/0.3706, allocations: 125.4 kB / 403.6 MB, free: 5.773 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.998e-05/0.3707, allocations: 55.41 kB / 403.7 MB, free: 5.707 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.156e-05/0.3708, allocations: 105.8 kB / 403.8 MB, free: 5.594 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.3708, allocations: 29.7 kB / 403.8 MB, free: 5.559 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.174e-05/0.3708, allocations: 80.14 kB / 403.9 MB, free: 5.477 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.3709, allocations: 11.94 kB / 403.9 MB, free: 5.465 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.3709, allocations: 13.72 kB / 403.9 MB, free: 5.445 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.371, allocations: 318.8 kB / 404.2 MB, free: 5.125 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.668e-05/0.3711, allocations: 4 kB / 404.2 MB, free: 5.121 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.44e-05/0.3711, allocations: 31.42 kB / 404.3 MB, free: 5.078 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.111e-05/0.3712, allocations: 39.38 kB / 404.3 MB, free: 5.027 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3712, allocations: 0 / 404.3 MB, free: 5.027 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.72e-05/0.3713, allocations: 69.47 kB / 404.4 MB, free: 4.953 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.3713, allocations: 11.94 kB / 404.4 MB, free: 4.941 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3713, allocations: 3.938 kB / 404.4 MB, free: 4.938 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.3713, allocations: 4.125 kB / 404.4 MB, free: 4.934 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.263e-05/0.3714, allocations: 8 kB / 404.4 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.3714, allocations: 320 / 404.4 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.232e-05/0.3715, allocations: 4 kB / 404.4 MB, free: 4.922 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.3715, allocations: 0 / 404.4 MB, free: 4.922 MB / 318.1 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 0.0001118/0.3716, allocations: 113.8 kB / 404.5 MB, free: 4.801 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002951/0.3719, allocations: 93.73 kB / 404.6 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.878e-05/0.3719, allocations: 11.84 kB / 404.6 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3719, allocations: 4 kB / 404.6 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3719, allocations: 4 kB / 404.6 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.3719, allocations: 128 / 404.6 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.3721, allocations: 161.7 kB / 404.8 MB, free: 4.469 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3721, allocations: 0 / 404.8 MB, free: 4.469 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.3722, allocations: 19.97 kB / 404.8 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3722, allocations: 0 / 404.8 MB, free: 4.449 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.3722, allocations: 3.938 kB / 404.8 MB, free: 4.445 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.3722, allocations: 3.984 kB / 404.8 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3722, allocations: 0 / 404.8 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000342/0.3726, allocations: 124.9 kB / 404.9 MB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.651e-05/0.3726, allocations: 78.38 kB / 405 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.3726, allocations: 11.88 kB / 405 MB, free: 4.195 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.22e-05/0.3727, allocations: 7.984 kB / 405 MB, free: 4.188 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.752e-06/0.3727, allocations: 0 / 405 MB, free: 4.188 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.3727, allocations: 0 / 405 MB, free: 4.188 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.418e-05/0.3728, allocations: 91.27 kB / 405.1 MB, free: 4.098 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3728, allocations: 0 / 405.1 MB, free: 4.098 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001879/0.373, allocations: 4 kB / 405.1 MB, free: 4.094 MB / 318.1 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.0001177/0.3731, allocations: 108 kB / 405.2 MB, free: 3.98 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002186/0.3733, allocations: 39.91 kB / 405.3 MB, free: 3.941 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3733, allocations: 0 / 405.3 MB, free: 3.941 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.3733, allocations: 0 / 405.3 MB, free: 3.941 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.3737, allocations: 43.98 kB / 405.3 MB, free: 3.898 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004225/0.3742, allocations: 129.5 kB / 405.4 MB, free: 3.746 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.3744, allocations: 0.6886 MB / 406.1 MB, free: 3.031 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.555e-05/0.3745, allocations: 0 / 406.1 MB, free: 3.031 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.232e-05/0.3745, allocations: 15.42 kB / 406.1 MB, free: 3.016 MB / 318.1 MB Notification: Performance of SimCode: time 6.12e-07/0.3745, allocations: 0 / 406.1 MB, free: 3.016 MB / 318.1 MB Notification: Performance of Templates: time 0.002707/0.3772, allocations: 0.5278 MB / 406.7 MB, free: 2.496 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches