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.001539/0.001539, allocations: 121.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002225/0.002225, allocations: 203.9 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.593/1.593, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 55.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4126/0.4138, allocations: 50.54 MB / 409.2 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.003732/0.4176, allocations: 1.472 MB / 410.7 MB, free: 304 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002657/0.4179, allocations: 35.84 kB / 410.8 MB, free: 268 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.656e-05/0.418, allocations: 4 kB / 410.8 MB, free: 264 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.092e-05/0.4181, allocations: 3.938 kB / 410.8 MB, free: 260 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.625e-05/0.4182, allocations: 7.938 kB / 410.8 MB, free: 252 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.4186, allocations: 23.98 kB / 410.8 MB, free: 228 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.4187, allocations: 43.89 kB / 410.8 MB, free: 184 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.4188, allocations: 4 kB / 410.8 MB, free: 180 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.638e-05/0.4189, allocations: 19.86 kB / 410.9 MB, free: 160 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.17e-05/0.419, allocations: 19.92 kB / 410.9 MB, free: 140 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.419, allocations: 4 kB / 410.9 MB, free: 136 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.223e-05/0.419, allocations: 4 kB / 410.9 MB, free: 132 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.667e-05/0.419, allocations: 11.92 kB / 410.9 MB, free: 120 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.439e-05/0.4191, allocations: 15.94 kB / 410.9 MB, free: 104 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.4192, allocations: 35.88 kB / 410.9 MB, free: 68 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.876e-06/0.4192, allocations: 0 / 410.9 MB, free: 68 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4192, allocations: 3.938 kB / 411 MB, free: 64 kB / 318.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.4193, allocations: 4 kB / 411 MB, free: 60 kB / 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.0006791/0.4199, allocations: 360.7 kB / 411.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.42, allocations: 8.031 kB / 411.3 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.42, allocations: 8.844 kB / 411.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/0.4204, allocations: 184.2 kB / 411.5 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.4204, allocations: 4.375 kB / 411.5 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.4204, allocations: 4.375 kB / 411.5 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005829/0.421, allocations: 159.8 kB / 411.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.421, allocations: 192 / 411.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.4211, allocations: 3.938 kB / 411.7 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.4211, allocations: 3.938 kB / 411.7 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002325/0.4213, allocations: 51.94 kB / 411.7 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00019/0.4215, allocations: 161.7 kB / 411.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003209/0.4218, allocations: 82.5 kB / 412 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.422, allocations: 40.91 kB / 412 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.422, allocations: 0 / 412 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.422, allocations: 30.56 kB / 412 MB, free: 14.81 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.422, allocations: 0 / 412 MB, free: 14.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004968/0.4225, allocations: 129.4 kB / 412.2 MB, free: 14.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.115e-05/0.4226, allocations: 55.41 kB / 412.2 MB, free: 14.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.4228, allocations: 109.8 kB / 412.3 MB, free: 14.49 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.4228, allocations: 25.7 kB / 412.3 MB, free: 14.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.613e-05/0.4228, allocations: 84.08 kB / 412.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.4229, allocations: 4 kB / 412.4 MB, free: 14.37 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.4229, allocations: 13.72 kB / 412.4 MB, free: 14.35 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.4231, allocations: 318.8 kB / 412.8 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.459e-05/0.4231, allocations: 8 kB / 412.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.705e-05/0.4231, allocations: 35.38 kB / 412.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.658e-05/0.4232, allocations: 35.42 kB / 412.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.4232, allocations: 4 kB / 412.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.695e-05/0.4233, allocations: 61.48 kB / 412.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.071e-05/0.4234, allocations: 11.98 kB / 412.9 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.4234, allocations: 3.938 kB / 412.9 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.917e-05/0.4234, allocations: 3.938 kB / 412.9 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.4235, allocations: 8 kB / 412.9 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.557e-05/0.4236, allocations: 4 kB / 412.9 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.21e-05/0.4236, allocations: 0 / 412.9 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.4236, allocations: 4.25 kB / 412.9 MB, free: 13.82 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 0.0001793/0.4238, allocations: 121.8 kB / 413.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003342/0.4242, allocations: 89.56 kB / 413.1 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.136e-05/0.4242, allocations: 15.84 kB / 413.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.4242, allocations: 240 / 413.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.4242, allocations: 0 / 413.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.4242, allocations: 3.984 kB / 413.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.4244, allocations: 161.6 kB / 413.3 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4244, allocations: 0 / 413.3 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.952e-05/0.4245, allocations: 15.98 kB / 413.3 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.4245, allocations: 7.984 kB / 413.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.4245, allocations: 3.938 kB / 413.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4245, allocations: 0 / 413.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4245, allocations: 0 / 413.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.4249, allocations: 117 kB / 413.5 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-05/0.4249, allocations: 81.05 kB / 413.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.4249, allocations: 7.938 kB / 413.5 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.226e-05/0.425, allocations: 7.984 kB / 413.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-06/0.425, allocations: 4 kB / 413.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.425, allocations: 0 / 413.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.137e-05/0.4251, allocations: 91.27 kB / 413.6 MB, free: 13 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4251, allocations: 0 / 413.6 MB, free: 13 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001889/0.4253, allocations: 4 kB / 413.7 MB, free: 12.99 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.0001437/0.4255, allocations: 99.25 kB / 413.8 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002479/0.4257, allocations: 40.09 kB / 413.8 MB, free: 12.85 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4257, allocations: 4.062 kB / 413.8 MB, free: 12.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.02e-07/0.4257, allocations: 0 / 413.8 MB, free: 12.84 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004469/0.4262, allocations: 43.98 kB / 413.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000427/0.4266, allocations: 125.5 kB / 414 MB, free: 12.65 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.4269, allocations: 0.6807 MB / 414.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.492e-05/0.427, allocations: 0 / 414.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.732e-05/0.427, allocations: 15.42 kB / 414.7 MB, free: 11.93 MB / 334.1 MB Notification: Performance of SimCode: time 3.6e-07/0.427, allocations: 7.938 kB / 414.7 MB, free: 11.92 MB / 334.1 MB Notification: Performance of Templates: time 0.003116/0.4301, allocations: 0.5297 MB / 415.2 MB, free: 11.4 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","/var/lib/jenkins/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