Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00131/0.00131, allocations: 195.5 kB / 17.38 MB, free: 4.312 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 226.6 MB / 244.7 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008764/0.0008763, allocations: 97.52 kB / 296.8 MB, free: 6.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002562/0.0002563, allocations: 8 kB / 356.8 MB, free: 10.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2679, allocations: 51.29 MB / 408 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.001375/0.2694, allocations: 1.184 MB / 409.2 MB, free: 26.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001803/0.2696, allocations: 35.84 kB / 409.3 MB, free: 26.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.085e-05/0.2696, allocations: 0.8438 kB / 409.3 MB, free: 26.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.449e-05/0.2697, allocations: 4 kB / 409.3 MB, free: 26.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.731e-05/0.2697, allocations: 5.719 kB / 409.3 MB, free: 26.49 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.27, allocations: 27.84 kB / 409.3 MB, free: 26.47 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.673e-05/0.2701, allocations: 31.92 kB / 409.3 MB, free: 26.44 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.2702, allocations: 4 kB / 409.3 MB, free: 26.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.094e-05/0.2702, allocations: 16.45 kB / 409.4 MB, free: 26.42 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.809e-05/0.2703, allocations: 17.7 kB / 409.4 MB, free: 26.4 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.2703, allocations: 4 kB / 409.4 MB, free: 26.4 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.039e-05/0.2703, allocations: 0 / 409.4 MB, free: 26.4 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.2704, allocations: 7.969 kB / 409.4 MB, free: 26.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.812e-05/0.2704, allocations: 37.64 kB / 409.4 MB, free: 26.35 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.852e-05/0.2705, allocations: 28.69 kB / 409.4 MB, free: 26.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.2705, allocations: 0 / 409.4 MB, free: 26.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.567e-06/0.2705, allocations: 0.75 kB / 409.4 MB, free: 26.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.2705, allocations: 3.938 kB / 409.5 MB, free: 26.32 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.0004367/0.271, allocations: 353.2 kB / 409.8 MB, free: 25.92 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.271, allocations: 8.031 kB / 409.8 MB, free: 25.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/0.2711, allocations: 4.844 kB / 409.8 MB, free: 25.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.2712, allocations: 186 kB / 410 MB, free: 25.69 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.2712, allocations: 4.375 kB / 410 MB, free: 25.69 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.2713, allocations: 4.875 kB / 410 MB, free: 25.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005002/0.2718, allocations: 166.7 kB / 410.2 MB, free: 25.51 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.2718, allocations: 192 / 410.2 MB, free: 25.51 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.2718, allocations: 7.875 kB / 410.2 MB, free: 25.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.2718, allocations: 0 / 410.2 MB, free: 25.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002234/0.2721, allocations: 51.94 kB / 410.2 MB, free: 25.45 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001049/0.2722, allocations: 163.7 kB / 410.4 MB, free: 25.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.2724, allocations: 86.5 kB / 410.5 MB, free: 25.15 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.2726, allocations: 47.97 kB / 410.5 MB, free: 25.11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.2726, allocations: 0 / 410.5 MB, free: 25.11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.2726, allocations: 30.56 kB / 410.5 MB, free: 25.07 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.2726, allocations: 0 / 410.5 MB, free: 25.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004323/0.2731, allocations: 125.5 kB / 410.7 MB, free: 24.94 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.2731, allocations: 55.39 kB / 410.7 MB, free: 24.87 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.361e-05/0.2732, allocations: 109.9 kB / 410.8 MB, free: 24.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.2732, allocations: 25.7 kB / 410.9 MB, free: 24.72 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.16e-05/0.2732, allocations: 88.12 kB / 410.9 MB, free: 24.63 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.275e-05/0.2733, allocations: 0 / 410.9 MB, free: 24.63 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/0.2733, allocations: 7.938 kB / 410.9 MB, free: 24.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.974e-05/0.2733, allocations: 314.8 kB / 411.3 MB, free: 24.31 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.276e-05/0.2733, allocations: 8 kB / 411.3 MB, free: 24.3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.201e-05/0.2734, allocations: 35.42 kB / 411.3 MB, free: 24.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.774e-05/0.2734, allocations: 39.38 kB / 411.3 MB, free: 24.2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2734, allocations: 0 / 411.3 MB, free: 24.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.767e-05/0.2735, allocations: 69.62 kB / 411.4 MB, free: 24.13 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.2735, allocations: 4 kB / 411.4 MB, free: 24.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2735, allocations: 7.938 kB / 411.4 MB, free: 24.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.2735, allocations: 0 / 411.4 MB, free: 24.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.933e-05/0.2736, allocations: 8 kB / 411.4 MB, free: 24.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.2736, allocations: 0 / 411.4 MB, free: 24.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2e-05/0.2736, allocations: 0 / 411.4 MB, free: 24.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.2736, allocations: 11.92 kB / 411.4 MB, free: 24.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.111e-05/0.2737, allocations: 113.8 kB / 411.5 MB, free: 23.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002402/0.274, allocations: 85.67 kB / 411.6 MB, free: 23.89 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.463e-05/0.274, allocations: 15.84 kB / 411.6 MB, free: 23.86 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.274, allocations: 240 / 411.6 MB, free: 23.86 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.274, allocations: 0 / 411.6 MB, free: 23.86 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.274, allocations: 3.984 kB / 411.6 MB, free: 23.86 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.861e-05/0.2741, allocations: 165.6 kB / 411.8 MB, free: 23.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.2741, allocations: 0 / 411.8 MB, free: 23.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.628e-05/0.2742, allocations: 11.98 kB / 411.8 MB, free: 23.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.2742, allocations: 4 kB / 411.8 MB, free: 23.63 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.2742, allocations: 3.938 kB / 411.8 MB, free: 23.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.2742, allocations: 0 / 411.8 MB, free: 23.62 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2742, allocations: 7.938 kB / 411.8 MB, free: 23.62 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.2745, allocations: 124.9 kB / 412 MB, free: 23.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.158e-05/0.2745, allocations: 77.11 kB / 412 MB, free: 23.38 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.2745, allocations: 3.938 kB / 412 MB, free: 23.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.139e-05/0.2746, allocations: 15.98 kB / 412.1 MB, free: 23.36 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-06/0.2746, allocations: 0 / 412.1 MB, free: 23.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-06/0.2746, allocations: 3.938 kB / 412.1 MB, free: 23.36 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.662e-05/0.2747, allocations: 83.27 kB / 412.1 MB, free: 23.28 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2747, allocations: 4 kB / 412.1 MB, free: 23.27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001778/0.2748, allocations: 12 kB / 412.2 MB, free: 23.26 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.73e-05/0.2749, allocations: 95.25 kB / 412.2 MB, free: 23.16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001771/0.2751, allocations: 43.89 kB / 412.3 MB, free: 23.12 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.2751, allocations: 0 / 412.3 MB, free: 23.12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.2751, allocations: 0 / 412.3 MB, free: 23.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.2755, allocations: 42.66 kB / 412.3 MB, free: 23.08 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000346/0.2759, allocations: 170.2 kB / 412.5 MB, free: 22.88 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.276, allocations: 0.6809 MB / 413.2 MB, free: 22.17 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.375e-05/0.276, allocations: 7.438 kB / 413.2 MB, free: 22.16 MB / 298.7 MB Notification: Performance of SimCode: time 2.9e-07/0.276, allocations: 0 / 413.2 MB, free: 22.16 MB / 298.7 MB Notification: Performance of Templates: time 0.001797/0.2778, allocations: 0.6718 MB / 413.9 MB, free: 21.5 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches