Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001421/0.001421, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001275/0.001275, allocations: 212 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.88 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2633, allocations: 50.53 MB / 409.9 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002673/0.266, allocations: 1.48 MB / 411.4 MB, free: 140 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000226/0.2663, allocations: 35.84 kB / 411.4 MB, free: 104 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.783e-05/0.2663, allocations: 0 / 411.4 MB, free: 104 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.943e-05/0.2664, allocations: 3.938 kB / 411.5 MB, free: 100 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.156e-05/0.2664, allocations: 3.938 kB / 411.5 MB, free: 96 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.2667, allocations: 23.97 kB / 411.5 MB, free: 72 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.264e-05/0.2668, allocations: 39.91 kB / 411.5 MB, free: 32 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.975e-05/0.2669, allocations: 15.98 kB / 411.5 MB, free: 16 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.147e-05/0.2669, allocations: 11.94 kB / 411.5 MB, free: 4 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.699e-05/0.267, allocations: 15.92 kB / 411.6 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.267, allocations: 4 kB / 411.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.178e-05/0.2671, allocations: 4 kB / 411.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.241e-05/0.2671, allocations: 11.92 kB / 411.6 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.696e-05/0.2671, allocations: 19.92 kB / 411.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.234e-05/0.2672, allocations: 39.81 kB / 411.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2672, allocations: 0 / 411.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2672, allocations: 0 / 411.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.2673, allocations: 8 kB / 411.6 MB, free: 15.9 MB / 334.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.0005477/0.2678, allocations: 359.2 kB / 412 MB, free: 15.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.2679, allocations: 8.031 kB / 412 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/0.2679, allocations: 8.844 kB / 412 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.2681, allocations: 172.3 kB / 412.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.2681, allocations: 4.375 kB / 412.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.2682, allocations: 4.375 kB / 412.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006145/0.2688, allocations: 175.7 kB / 412.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.2688, allocations: 192 / 412.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.2688, allocations: 3.938 kB / 412.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.2688, allocations: 0 / 412.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002675/0.2691, allocations: 55.88 kB / 412.4 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/0.2693, allocations: 157.7 kB / 412.6 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.2696, allocations: 82.52 kB / 412.7 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.2698, allocations: 44.89 kB / 412.7 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.2698, allocations: 0 / 412.7 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.2698, allocations: 34.5 kB / 412.7 MB, free: 14.65 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.2698, allocations: 0 / 412.7 MB, free: 14.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005016/0.2703, allocations: 117.5 kB / 412.8 MB, free: 14.53 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/0.2704, allocations: 51.41 kB / 412.9 MB, free: 14.46 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.311e-05/0.2705, allocations: 117.8 kB / 413 MB, free: 14.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.2705, allocations: 29.7 kB / 413 MB, free: 14.3 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.662e-05/0.2706, allocations: 80.14 kB / 413.1 MB, free: 14.22 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.42e-05/0.2706, allocations: 3.984 kB / 413.1 MB, free: 14.22 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.2706, allocations: 17.72 kB / 413.1 MB, free: 14.19 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.2708, allocations: 318.8 kB / 413.5 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.171e-05/0.2708, allocations: 0 / 413.5 MB, free: 13.87 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.588e-05/0.2708, allocations: 43.36 kB / 413.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.22e-05/0.2709, allocations: 35.38 kB / 413.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2709, allocations: 0 / 413.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.619e-05/0.271, allocations: 57.62 kB / 413.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.271, allocations: 12.03 kB / 413.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.271, allocations: 3.938 kB / 413.6 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.271, allocations: 0 / 413.6 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.263e-05/0.2711, allocations: 8 kB / 413.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.2711, allocations: 4 kB / 413.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.195e-05/0.2711, allocations: 4 kB / 413.6 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.2711, allocations: 3.984 kB / 413.6 MB, free: 13.67 MB / 334.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.587e-05/0.2712, allocations: 117.8 kB / 413.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003217/0.2715, allocations: 89.64 kB / 413.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.293e-05/0.2716, allocations: 15.84 kB / 413.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.2716, allocations: 0 / 413.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2716, allocations: 0 / 413.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.2716, allocations: 3.984 kB / 413.8 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.2718, allocations: 161.6 kB / 414 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2718, allocations: 240 / 414 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.2719, allocations: 19.98 kB / 414 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.2719, allocations: 0 / 414 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.2719, allocations: 3.938 kB / 414 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.2719, allocations: 0 / 414 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.2719, allocations: 7.984 kB / 414 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003394/0.2723, allocations: 120.9 kB / 414.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-05/0.2723, allocations: 78.38 kB / 414.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.2723, allocations: 11.88 kB / 414.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.928e-05/0.2724, allocations: 7.984 kB / 414.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-06/0.2724, allocations: 0 / 414.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.2724, allocations: 0 / 414.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.961e-05/0.2725, allocations: 91.27 kB / 414.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2725, allocations: 4 kB / 414.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001845/0.2727, allocations: 4 kB / 414.3 MB, free: 12.84 MB / 334.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.0001251/0.2728, allocations: 95.25 kB / 414.4 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.273, allocations: 47.89 kB / 414.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.273, allocations: 0 / 414.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.273, allocations: 0 / 414.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.2734, allocations: 40 kB / 414.5 MB, free: 12.65 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003662/0.2738, allocations: 155 kB / 414.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.2741, allocations: 0.6846 MB / 415.4 MB, free: 11.76 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.474e-05/0.2741, allocations: 15.44 kB / 415.4 MB, free: 11.74 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2741, allocations: 0 / 415.4 MB, free: 11.74 MB / 334.1 MB Notification: Performance of Templates: time 0.001979/0.2761, allocations: 0.6904 MB / 416.1 MB, free: 11.05 MB / 334.1 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/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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches