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.001781/0.001781, allocations: 110.9 kB / 17.74 MB, free: 5.352 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.001811/0.001811, allocations: 192.5 kB / 18.67 MB, free: 4.426 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.364/1.364, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 47.92 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3349, allocations: 49.43 MB / 401.4 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002611/0.3376, allocations: 1.466 MB / 402.9 MB, free: 7.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001991/0.3378, allocations: 39.84 kB / 402.9 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.081e-05/0.3379, allocations: 0 / 402.9 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.679e-05/0.3379, allocations: 7.875 kB / 402.9 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.079e-05/0.338, allocations: 3.938 kB / 402.9 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.3383, allocations: 22.73 kB / 402.9 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.765e-05/0.3384, allocations: 43.89 kB / 403 MB, free: 7.297 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.595e-05/0.3385, allocations: 8 kB / 403 MB, free: 7.289 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.301e-05/0.3385, allocations: 15.92 kB / 403 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.654e-05/0.3386, allocations: 23.92 kB / 403 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.709e-05/0.3386, allocations: 8 kB / 403 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.042e-05/0.3386, allocations: 4 kB / 403.1 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.23e-05/0.3387, allocations: 7.938 kB / 403.1 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.276e-05/0.3387, allocations: 19.91 kB / 403.1 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.614e-05/0.3388, allocations: 31.89 kB / 403.1 MB, free: 7.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3388, allocations: 0 / 403.1 MB, free: 7.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.3388, allocations: 0 / 403.1 MB, free: 7.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.727e-06/0.3388, allocations: 3.938 kB / 403.1 MB, free: 7.176 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.0005205/0.3394, allocations: 359.2 kB / 403.5 MB, free: 6.777 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/0.3394, allocations: 12.02 kB / 403.5 MB, free: 6.766 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.3395, allocations: 12.84 kB / 403.5 MB, free: 6.754 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.3397, allocations: 176.3 kB / 403.7 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.3397, allocations: 8.359 kB / 403.7 MB, free: 6.535 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.699e-06/0.3397, allocations: 384 / 403.7 MB, free: 6.535 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005398/0.3403, allocations: 155.8 kB / 403.8 MB, free: 6.371 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3403, allocations: 192 / 403.8 MB, free: 6.371 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.3403, allocations: 7.938 kB / 403.8 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3403, allocations: 0 / 403.8 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002459/0.3406, allocations: 55.88 kB / 403.9 MB, free: 6.309 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/0.3407, allocations: 157.7 kB / 404 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.341, allocations: 82.5 kB / 404.1 MB, free: 6.016 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.3412, allocations: 40.91 kB / 404.2 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.3412, allocations: 0 / 404.2 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.3412, allocations: 34.56 kB / 404.2 MB, free: 5.93 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.3413, allocations: 0 / 404.2 MB, free: 5.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004736/0.3417, allocations: 125.4 kB / 404.3 MB, free: 5.801 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.3418, allocations: 59.41 kB / 404.4 MB, free: 5.73 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.803e-05/0.3419, allocations: 105.8 kB / 404.5 MB, free: 5.617 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.3419, allocations: 25.7 kB / 404.5 MB, free: 5.586 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.954e-05/0.342, allocations: 80.14 kB / 404.6 MB, free: 5.504 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.342, allocations: 11.94 kB / 404.6 MB, free: 5.492 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-05/0.342, allocations: 17.72 kB / 404.6 MB, free: 5.469 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.3421, allocations: 318.8 kB / 404.9 MB, free: 5.148 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.317e-05/0.3421, allocations: 4 kB / 404.9 MB, free: 5.145 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.343e-05/0.3422, allocations: 27.44 kB / 404.9 MB, free: 5.105 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.865e-05/0.3422, allocations: 47.3 kB / 405 MB, free: 5.047 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3422, allocations: 0 / 405 MB, free: 5.047 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.161e-05/0.3423, allocations: 65.48 kB / 405.1 MB, free: 4.977 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.3423, allocations: 4 kB / 405.1 MB, free: 4.973 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3424, allocations: 7.922 kB / 405.1 MB, free: 4.965 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.3424, allocations: 4 kB / 405.1 MB, free: 4.961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.602e-05/0.3424, allocations: 8 kB / 405.1 MB, free: 4.953 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.3424, allocations: 4.125 kB / 405.1 MB, free: 4.949 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.928e-05/0.3425, allocations: 0 / 405.1 MB, free: 4.949 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.3425, allocations: 4.312 kB / 405.1 MB, free: 4.945 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 8.247e-05/0.3426, allocations: 113.8 kB / 405.2 MB, free: 4.824 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002693/0.3428, allocations: 89.56 kB / 405.3 MB, free: 4.73 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.265e-05/0.3429, allocations: 11.97 kB / 405.3 MB, free: 4.711 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.3429, allocations: 240 / 405.3 MB, free: 4.711 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.3429, allocations: 4 kB / 405.3 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3429, allocations: 0 / 405.3 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.343, allocations: 169.6 kB / 405.5 MB, free: 4.492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.343, allocations: 0 / 405.5 MB, free: 4.492 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.508e-05/0.3431, allocations: 11.98 kB / 405.5 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3431, allocations: 0 / 405.5 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.3432, allocations: 7.922 kB / 405.5 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3432, allocations: 4 kB / 405.5 MB, free: 4.469 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3432, allocations: 0 / 405.5 MB, free: 4.469 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.3435, allocations: 116.9 kB / 405.6 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.301e-05/0.3435, allocations: 86.38 kB / 405.7 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.3435, allocations: 7.875 kB / 405.7 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.482e-05/0.3436, allocations: 7.984 kB / 405.7 MB, free: 4.219 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.856e-06/0.3436, allocations: 0 / 405.7 MB, free: 4.219 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.3436, allocations: 4 kB / 405.7 MB, free: 4.215 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.647e-05/0.3437, allocations: 87.27 kB / 405.8 MB, free: 4.129 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3437, allocations: 0 / 405.8 MB, free: 4.129 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000183/0.3439, allocations: 4 kB / 405.8 MB, free: 4.125 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.0001145/0.344, allocations: 116 kB / 405.9 MB, free: 4.004 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002004/0.3442, allocations: 39.91 kB / 406 MB, free: 3.965 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3442, allocations: 0 / 406 MB, free: 3.965 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.11e-07/0.3442, allocations: 0 / 406 MB, free: 3.965 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.3446, allocations: 39.98 kB / 406 MB, free: 3.926 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003556/0.3449, allocations: 155.2 kB / 406.1 MB, free: 3.742 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.3453, allocations: 0.6844 MB / 406.8 MB, free: 3.031 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.784e-05/0.3453, allocations: 19.62 kB / 406.8 MB, free: 3.012 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3453, allocations: 0 / 406.8 MB, free: 3.012 MB / 318.1 MB Notification: Performance of Templates: time 0.001962/0.3473, allocations: 0.6881 MB / 407.5 MB, free: 2.32 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","/var/lib/jenkins1/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