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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 107 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008746/0.0008746, allocations: 31.95 kB / 350 MB, free: 84 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3134, allocations: 49.44 MB / 399.5 MB, free: 33.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002711/0.3162, allocations: 1.521 MB / 401 MB, free: 31.87 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001962/0.3164, allocations: 35.91 kB / 401 MB, free: 31.83 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.177e-05/0.3165, allocations: 3.938 kB / 401 MB, free: 31.83 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.441e-05/0.3166, allocations: 0 / 401 MB, free: 31.83 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.671e-05/0.3166, allocations: 1.656 kB / 401 MB, free: 31.83 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.3169, allocations: 27.91 kB / 401.1 MB, free: 31.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.16e-05/0.317, allocations: 39.86 kB / 401.1 MB, free: 31.76 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.3171, allocations: 15.98 kB / 401.1 MB, free: 31.75 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.585e-05/0.3171, allocations: 4 kB / 401.1 MB, free: 31.74 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.45e-05/0.3172, allocations: 23.91 kB / 401.1 MB, free: 31.72 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.3172, allocations: 3.938 kB / 401.1 MB, free: 31.71 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.405e-05/0.3172, allocations: 4 kB / 401.2 MB, free: 31.71 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.27e-05/0.3173, allocations: 11.92 kB / 401.2 MB, free: 31.7 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.175e-05/0.3173, allocations: 15.92 kB / 401.2 MB, free: 31.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.379e-05/0.3174, allocations: 35.83 kB / 401.2 MB, free: 31.65 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3174, allocations: 0 / 401.2 MB, free: 31.65 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3174, allocations: 0 / 401.2 MB, free: 31.65 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.3174, allocations: 4 kB / 401.2 MB, free: 31.64 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.0004836/0.3179, allocations: 358.6 kB / 401.6 MB, free: 31.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.318, allocations: 8.031 kB / 401.6 MB, free: 31.24 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/0.318, allocations: 8.844 kB / 401.6 MB, free: 31.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.3182, allocations: 172.3 kB / 401.8 MB, free: 31.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.3182, allocations: 12.36 kB / 401.8 MB, free: 31.01 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.3182, allocations: 384 / 401.8 MB, free: 31.01 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005271/0.3188, allocations: 167.6 kB / 401.9 MB, free: 30.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.3188, allocations: 192 / 401.9 MB, free: 30.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.3188, allocations: 3.938 kB / 401.9 MB, free: 30.83 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3188, allocations: 0 / 401.9 MB, free: 30.83 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002432/0.319, allocations: 51.94 kB / 402 MB, free: 30.78 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000128/0.3192, allocations: 157.7 kB / 402.1 MB, free: 30.58 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.3195, allocations: 82.45 kB / 402.2 MB, free: 30.49 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.3196, allocations: 48.89 kB / 402.3 MB, free: 30.44 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.3197, allocations: 3.984 kB / 402.3 MB, free: 30.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.3197, allocations: 30.56 kB / 402.3 MB, free: 30.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.3197, allocations: 0 / 402.3 MB, free: 30.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004648/0.3202, allocations: 117.5 kB / 402.4 MB, free: 30.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.3202, allocations: 55.41 kB / 402.5 MB, free: 30.21 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.697e-05/0.3203, allocations: 117.8 kB / 402.6 MB, free: 30.08 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.3203, allocations: 29.7 kB / 402.6 MB, free: 30.05 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.529e-05/0.3203, allocations: 80.14 kB / 402.7 MB, free: 29.96 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.3203, allocations: 3.984 kB / 402.7 MB, free: 29.96 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.3204, allocations: 17.72 kB / 402.7 MB, free: 29.94 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.467e-05/0.3205, allocations: 322.8 kB / 403 MB, free: 29.61 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.47e-05/0.3205, allocations: 0 / 403 MB, free: 29.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.465e-05/0.3205, allocations: 35.42 kB / 403.1 MB, free: 29.57 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.821e-05/0.3206, allocations: 39.38 kB / 403.1 MB, free: 29.52 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3206, allocations: 0 / 403.1 MB, free: 29.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.839e-05/0.3206, allocations: 61.53 kB / 403.2 MB, free: 29.45 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.3207, allocations: 4 kB / 403.2 MB, free: 29.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3207, allocations: 8.062 kB / 403.2 MB, free: 29.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.3207, allocations: 4 kB / 403.2 MB, free: 29.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.397e-05/0.3208, allocations: 11.94 kB / 403.2 MB, free: 29.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3208, allocations: 7.938 kB / 403.2 MB, free: 29.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.973e-05/0.3208, allocations: 3.984 kB / 403.2 MB, free: 29.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.3208, allocations: 4 kB / 403.2 MB, free: 29.41 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 6.522e-05/0.3209, allocations: 113.8 kB / 403.3 MB, free: 29.29 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002601/0.3211, allocations: 89.55 kB / 403.4 MB, free: 29.19 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.658e-05/0.3212, allocations: 11.84 kB / 403.4 MB, free: 29.17 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3212, allocations: 0 / 403.4 MB, free: 29.17 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.3212, allocations: 12.05 kB / 403.4 MB, free: 29.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3212, allocations: 0 / 403.4 MB, free: 29.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.364e-05/0.3213, allocations: 161.7 kB / 403.6 MB, free: 28.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3213, allocations: 0 / 403.6 MB, free: 28.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.039e-05/0.3214, allocations: 15.98 kB / 403.6 MB, free: 28.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.3214, allocations: 0 / 403.6 MB, free: 28.94 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.3214, allocations: 3.938 kB / 403.6 MB, free: 28.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3214, allocations: 0 / 403.6 MB, free: 28.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3214, allocations: 0 / 403.6 MB, free: 28.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005328/0.322, allocations: 0.702 MB / 404.3 MB, free: 28.17 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.904e-05/0.322, allocations: 81.02 kB / 404.4 MB, free: 28.07 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.322, allocations: 0 / 404.4 MB, free: 28.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.602e-05/0.3221, allocations: 11.98 kB / 404.4 MB, free: 28.06 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-06/0.3221, allocations: 0 / 404.4 MB, free: 28.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.3221, allocations: 0 / 404.4 MB, free: 28.06 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.925e-05/0.3222, allocations: 91.27 kB / 404.5 MB, free: 27.97 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3222, allocations: 0 / 404.5 MB, free: 27.97 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002714/0.3224, allocations: 8 kB / 404.5 MB, free: 27.96 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.0001082/0.3226, allocations: 95.25 kB / 404.6 MB, free: 27.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001933/0.3228, allocations: 47.89 kB / 404.6 MB, free: 27.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3228, allocations: 0 / 404.6 MB, free: 27.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.3228, allocations: 0 / 404.6 MB, free: 27.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.3232, allocations: 48.47 kB / 404.7 MB, free: 27.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003708/0.3236, allocations: 250.2 kB / 404.9 MB, free: 27.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.3237, allocations: 0.6809 MB / 405.6 MB, free: 26.77 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.044e-05/0.3237, allocations: 3.984 kB / 405.6 MB, free: 26.77 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.826e-05/0.3237, allocations: 11.44 kB / 405.6 MB, free: 26.76 MB / 298.7 MB Notification: Performance of SimCode: time 1.192e-06/0.3237, allocations: 0 / 405.6 MB, free: 26.76 MB / 298.7 MB Notification: Performance of Templates: time 0.002574/0.3263, allocations: 0.5152 MB / 406.1 MB, free: 26.25 MB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches