Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00162/0.00162, allocations: 197.6 kB / 17.43 MB, free: 4.371 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.546/1.546, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007537/0.0007537, allocations: 95.48 kB / 299.8 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00027/0.0002701, allocations: 8 kB / 360.6 MB, free: 8.457 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2665, allocations: 51.41 MB / 412.1 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.001688/0.2683, allocations: 1.191 MB / 413.2 MB, free: 24.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002189/0.2685, allocations: 35.91 kB / 413.3 MB, free: 24.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.515e-05/0.2686, allocations: 4 kB / 413.3 MB, free: 24.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.982e-05/0.2687, allocations: 3.938 kB / 413.3 MB, free: 24.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.073e-05/0.2687, allocations: 0 / 413.3 MB, free: 24.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.2691, allocations: 25.22 kB / 413.3 MB, free: 24.63 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.303e-05/0.2692, allocations: 27.92 kB / 413.3 MB, free: 24.61 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.2693, allocations: 10.84 kB / 413.4 MB, free: 24.6 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.938e-05/0.2693, allocations: 15.92 kB / 413.4 MB, free: 24.58 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.316e-05/0.2694, allocations: 19.91 kB / 413.4 MB, free: 24.56 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.2694, allocations: 0 / 413.4 MB, free: 24.56 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.288e-05/0.2694, allocations: 4 kB / 413.4 MB, free: 24.56 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.494e-05/0.2695, allocations: 11.92 kB / 413.4 MB, free: 24.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.959e-05/0.2695, allocations: 37.64 kB / 413.4 MB, free: 24.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.534e-05/0.2696, allocations: 31.88 kB / 413.5 MB, free: 24.47 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2696, allocations: 3.469 kB / 413.5 MB, free: 24.47 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2696, allocations: 0 / 413.5 MB, free: 24.47 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.2697, allocations: 0 / 413.5 MB, free: 24.47 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.0004828/0.2701, allocations: 361 kB / 413.8 MB, free: 24.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.2702, allocations: 8.031 kB / 413.8 MB, free: 24.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.2702, allocations: 16.72 kB / 413.9 MB, free: 24.05 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.2704, allocations: 172.3 kB / 414 MB, free: 23.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.2704, allocations: 10.56 kB / 414 MB, free: 23.83 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.2705, allocations: 4.375 kB / 414 MB, free: 23.83 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000541/0.271, allocations: 159.7 kB / 414.2 MB, free: 23.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.271, allocations: 4.188 kB / 414.2 MB, free: 23.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.271, allocations: 3.938 kB / 414.2 MB, free: 23.65 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.2711, allocations: 0 / 414.2 MB, free: 23.65 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002265/0.2713, allocations: 51.94 kB / 414.2 MB, free: 23.6 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001119/0.2714, allocations: 161.7 kB / 414.4 MB, free: 23.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.2717, allocations: 90.48 kB / 414.5 MB, free: 23.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.2718, allocations: 40.91 kB / 414.5 MB, free: 23.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.2719, allocations: 4 kB / 414.5 MB, free: 23.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.471e-05/0.2719, allocations: 34.5 kB / 414.6 MB, free: 23.21 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.2719, allocations: 0 / 414.6 MB, free: 23.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.000439/0.2723, allocations: 129.4 kB / 414.7 MB, free: 23.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.2724, allocations: 51.41 kB / 414.7 MB, free: 23.01 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.089e-05/0.2725, allocations: 109.8 kB / 414.9 MB, free: 22.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.2725, allocations: 25.7 kB / 414.9 MB, free: 22.86 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.616e-05/0.2725, allocations: 84.14 kB / 415 MB, free: 22.78 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.2725, allocations: 7.938 kB / 415 MB, free: 22.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-06/0.2725, allocations: 4 kB / 415 MB, free: 22.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.091e-05/0.2726, allocations: 310.8 kB / 415.3 MB, free: 22.45 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.405e-05/0.2726, allocations: 11.98 kB / 415.3 MB, free: 22.44 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.958e-05/0.2726, allocations: 27.38 kB / 415.3 MB, free: 22.4 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.946e-05/0.2727, allocations: 43.38 kB / 415.4 MB, free: 22.35 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2727, allocations: 0 / 415.4 MB, free: 22.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.159e-05/0.2728, allocations: 65.53 kB / 415.4 MB, free: 22.28 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.2728, allocations: 4 kB / 415.4 MB, free: 22.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.2728, allocations: 7.938 kB / 415.4 MB, free: 22.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.2728, allocations: 0 / 415.4 MB, free: 22.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.196e-05/0.2729, allocations: 16.11 kB / 415.5 MB, free: 22.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.2729, allocations: 0 / 415.5 MB, free: 22.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.929e-05/0.2729, allocations: 0 / 415.5 MB, free: 22.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/0.273, allocations: 4 kB / 415.5 MB, free: 22.25 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 (ramp.counter,$CLKPRE.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.314e-05/0.273, allocations: 121.7 kB / 415.6 MB, free: 22.12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002502/0.2733, allocations: 85.64 kB / 415.7 MB, free: 22.03 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.64e-05/0.2733, allocations: 15.83 kB / 415.7 MB, free: 22 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2733, allocations: 0 / 415.7 MB, free: 22 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.2733, allocations: 0 / 415.7 MB, free: 22 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2733, allocations: 8 kB / 415.7 MB, free: 21.99 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.367e-05/0.2734, allocations: 157.7 kB / 415.8 MB, free: 21.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2734, allocations: 3.938 kB / 415.8 MB, free: 21.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.517e-05/0.2735, allocations: 11.98 kB / 415.8 MB, free: 21.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2735, allocations: 4 kB / 415.9 MB, free: 21.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.2735, allocations: 3.938 kB / 415.9 MB, free: 21.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2736, allocations: 0 / 415.9 MB, free: 21.77 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2736, allocations: 3.984 kB / 415.9 MB, free: 21.76 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.2738, allocations: 124.9 kB / 416 MB, free: 21.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.992e-05/0.2739, allocations: 77.11 kB / 416.1 MB, free: 21.53 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.2739, allocations: 12.05 kB / 416.1 MB, free: 21.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.393e-05/0.274, allocations: 15.98 kB / 416.1 MB, free: 21.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-06/0.274, allocations: 4.219 kB / 416.1 MB, free: 21.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.274, allocations: 0 / 416.1 MB, free: 21.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.715e-05/0.274, allocations: 79.59 kB / 416.2 MB, free: 21.42 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.274, allocations: 4 kB / 416.2 MB, free: 21.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001826/0.2742, allocations: 8 kB / 416.2 MB, free: 21.41 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.0001016/0.2743, allocations: 107.2 kB / 416.3 MB, free: 21.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001914/0.2745, allocations: 47.89 kB / 416.3 MB, free: 21.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2745, allocations: 0 / 416.3 MB, free: 21.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.2745, allocations: 0 / 416.3 MB, free: 21.25 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.2749, allocations: 40 kB / 416.4 MB, free: 21.21 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003254/0.2752, allocations: 144.8 kB / 416.5 MB, free: 21.04 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.2754, allocations: 0.6809 MB / 417.2 MB, free: 20.33 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.355e-05/0.2754, allocations: 7.984 kB / 417.2 MB, free: 20.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.411e-05/0.2754, allocations: 7.438 kB / 417.2 MB, free: 20.32 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2754, allocations: 0 / 417.2 MB, free: 20.32 MB / 298.7 MB Notification: Performance of Templates: time 0.00244/0.2779, allocations: 497.8 kB / 417.7 MB, free: 19.84 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/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