Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001644/0.001644, allocations: 118.8 kB / 17.83 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.001511/0.001511, allocations: 205.2 kB / 18.79 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.596/1.596, allocations: 230.4 MB / 250 MB, free: 9.051 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 67.84 kB / 367.4 MB, free: 7.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3711, allocations: 53.31 MB / 420.7 MB, free: 8.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002829/0.374, allocations: 1.472 MB / 422.1 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002266/0.3742, allocations: 39.84 kB / 422.2 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.766e-05/0.3743, allocations: 0 / 422.2 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.453e-05/0.3743, allocations: 7.922 kB / 422.2 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.669e-05/0.3744, allocations: 7.938 kB / 422.2 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.3747, allocations: 18.98 kB / 422.2 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.3748, allocations: 39.91 kB / 422.2 MB, free: 6.781 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.3749, allocations: 11.98 kB / 422.3 MB, free: 6.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.253e-05/0.375, allocations: 15.92 kB / 422.3 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.46e-05/0.375, allocations: 27.86 kB / 422.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.375, allocations: 0 / 422.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.367e-06/0.375, allocations: 4 kB / 422.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.732e-05/0.3751, allocations: 15.94 kB / 422.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.736e-05/0.3751, allocations: 19.91 kB / 422.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.3752, allocations: 31.89 kB / 422.4 MB, free: 6.656 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3752, allocations: 3.938 kB / 422.4 MB, free: 6.652 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3752, allocations: 0 / 422.4 MB, free: 6.652 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.3752, allocations: 0 / 422.4 MB, free: 6.652 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.0006354/0.3759, allocations: 355.2 kB / 422.7 MB, free: 6.258 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.3759, allocations: 8.031 kB / 422.7 MB, free: 6.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.376, allocations: 12.83 kB / 422.7 MB, free: 6.238 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.3762, allocations: 184.2 kB / 422.9 MB, free: 6.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.3763, allocations: 8.375 kB / 422.9 MB, free: 6.012 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.3763, allocations: 384 / 422.9 MB, free: 6.012 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005916/0.3769, allocations: 163.7 kB / 423.1 MB, free: 5.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.3769, allocations: 192 / 423.1 MB, free: 5.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.3769, allocations: 3.938 kB / 423.1 MB, free: 5.836 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.3769, allocations: 0 / 423.1 MB, free: 5.836 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002441/0.3771, allocations: 55.94 kB / 423.1 MB, free: 5.781 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001921/0.3773, allocations: 157.7 kB / 423.3 MB, free: 5.578 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003212/0.3777, allocations: 82.5 kB / 423.4 MB, free: 5.488 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.3778, allocations: 40.91 kB / 423.4 MB, free: 5.445 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.3778, allocations: 0 / 423.4 MB, free: 5.445 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.3778, allocations: 38.5 kB / 423.5 MB, free: 5.398 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3778, allocations: 4 kB / 423.5 MB, free: 5.395 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004792/0.3783, allocations: 113.5 kB / 423.6 MB, free: 5.277 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.104e-05/0.3784, allocations: 55.39 kB / 423.6 MB, free: 5.211 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.507e-05/0.3785, allocations: 101.9 kB / 423.7 MB, free: 5.102 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.3785, allocations: 33.64 kB / 423.8 MB, free: 5.062 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.631e-05/0.3786, allocations: 88.12 kB / 423.8 MB, free: 4.973 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.3786, allocations: 3.953 kB / 423.9 MB, free: 4.969 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.25e-05/0.3786, allocations: 17.72 kB / 423.9 MB, free: 4.945 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3788, allocations: 322.8 kB / 424.2 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.509e-05/0.3788, allocations: 4 kB / 424.2 MB, free: 4.617 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.503e-05/0.3788, allocations: 31.56 kB / 424.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.439e-05/0.3789, allocations: 39.38 kB / 424.3 MB, free: 4.523 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3789, allocations: 0 / 424.3 MB, free: 4.523 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.817e-05/0.379, allocations: 57.62 kB / 424.3 MB, free: 4.461 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.379, allocations: 4 kB / 424.3 MB, free: 4.457 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.379, allocations: 7.938 kB / 424.3 MB, free: 4.449 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.379, allocations: 3.984 kB / 424.3 MB, free: 4.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.478e-05/0.3791, allocations: 15.92 kB / 424.3 MB, free: 4.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.3791, allocations: 0 / 424.3 MB, free: 4.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.413e-05/0.3791, allocations: 12.12 kB / 424.4 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.3791, allocations: 0 / 424.4 MB, free: 4.418 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.705e-05/0.3792, allocations: 113.8 kB / 424.5 MB, free: 4.297 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002968/0.3795, allocations: 89.59 kB / 424.6 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.41e-05/0.3795, allocations: 11.83 kB / 424.6 MB, free: 4.18 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.3795, allocations: 4 kB / 424.6 MB, free: 4.176 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3795, allocations: 0 / 424.6 MB, free: 4.176 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3795, allocations: 0 / 424.6 MB, free: 4.176 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.3796, allocations: 157.7 kB / 424.7 MB, free: 3.973 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3796, allocations: 4 kB / 424.7 MB, free: 3.969 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.449e-05/0.3797, allocations: 15.98 kB / 424.7 MB, free: 3.953 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.3797, allocations: 4 kB / 424.7 MB, free: 3.949 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.3797, allocations: 3.938 kB / 424.8 MB, free: 3.945 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3797, allocations: 0 / 424.8 MB, free: 3.945 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3797, allocations: 3.984 kB / 424.8 MB, free: 3.941 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.38, allocations: 117 kB / 424.9 MB, free: 3.809 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.817e-05/0.3801, allocations: 85.03 kB / 425 MB, free: 3.707 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.3801, allocations: 4.062 kB / 425 MB, free: 3.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.003e-05/0.3802, allocations: 19.98 kB / 425 MB, free: 3.684 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.374e-06/0.3802, allocations: 0 / 425 MB, free: 3.684 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.3802, allocations: 0 / 425 MB, free: 3.684 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.914e-05/0.3802, allocations: 83.28 kB / 425.1 MB, free: 3.602 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3802, allocations: 0 / 425.1 MB, free: 3.602 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000185/0.3804, allocations: 8 kB / 425.1 MB, free: 3.594 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.0001219/0.3805, allocations: 99.23 kB / 425.2 MB, free: 3.488 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002187/0.3808, allocations: 47.91 kB / 425.2 MB, free: 3.441 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3808, allocations: 0 / 425.2 MB, free: 3.441 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-07/0.3808, allocations: 0 / 425.2 MB, free: 3.441 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.3811, allocations: 35.09 kB / 425.2 MB, free: 3.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000393/0.3815, allocations: 137.5 kB / 425.4 MB, free: 3.25 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.3818, allocations: 0.6807 MB / 426.1 MB, free: 2.543 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.39e-05/0.3818, allocations: 4.25 kB / 426.1 MB, free: 2.539 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.774e-05/0.3819, allocations: 11.44 kB / 426.1 MB, free: 2.527 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3819, allocations: 0 / 426.1 MB, free: 2.527 MB / 334.1 MB Notification: Performance of Templates: time 0.00306/0.3849, allocations: 0.5342 MB / 426.6 MB, free: 1.996 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches