Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 80.67 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001956/0.001956, allocations: 154.9 kB / 23.94 MB, free: 4.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 173.4 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 318.9 MB, free: 3.578 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.998e-05/3.186e-05, allocations: 3.469 kB / 318.9 MB, free: 3.574 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002724/0.002755, allocations: 1.463 MB / 320.4 MB, free: 2.578 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002024/0.002958, allocations: 38.14 kB / 320.4 MB, free: 2.551 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.154e-05/0.003029, allocations: 1.062 kB / 320.4 MB, free: 2.551 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.756e-05/0.003057, allocations: 4.547 kB / 320.4 MB, free: 2.547 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.086e-05/0.003108, allocations: 13.72 kB / 320.4 MB, free: 2.535 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002719/0.00338, allocations: 28.28 kB / 320.5 MB, free: 2.52 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.003487, allocations: 35.64 kB / 320.5 MB, free: 2.504 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.003599, allocations: 9.812 kB / 320.5 MB, free: 2.5 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.94e-05/0.003699, allocations: 19.88 kB / 320.5 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.391e-05/0.003743, allocations: 12.81 kB / 320.6 MB, free: 2.488 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.003767, allocations: 3.219 kB / 320.6 MB, free: 2.488 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.346e-05/0.003781, allocations: 3.406 kB / 320.6 MB, free: 2.488 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.382e-05/0.003804, allocations: 12.09 kB / 320.6 MB, free: 2.48 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.169e-05/0.003846, allocations: 13.23 kB / 320.6 MB, free: 2.473 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.003966, allocations: 38.69 kB / 320.6 MB, free: 2.457 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.003969, allocations: 4.562 kB / 320.6 MB, free: 2.453 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.003969, allocations: 0 / 320.6 MB, free: 2.453 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.003973, allocations: 9.219 kB / 320.6 MB, free: 2.445 MB / 286.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.0004943/0.004468, allocations: 282.5 kB / 320.9 MB, free: 2.168 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.004515, allocations: 10.92 kB / 320.9 MB, free: 2.168 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.004557, allocations: 8.016 kB / 320.9 MB, free: 2.164 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.004765, allocations: 120.6 kB / 321 MB, free: 2.031 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.116e-05/0.004797, allocations: 5.531 kB / 321.1 MB, free: 2.027 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.004816, allocations: 3.438 kB / 321.1 MB, free: 2.027 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006638/0.00548, allocations: 159 kB / 321.2 MB, free: 1.949 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.005493, allocations: 1.781 kB / 321.2 MB, free: 1.949 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.005504, allocations: 384 / 321.2 MB, free: 1.949 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.00551, allocations: 0.9844 kB / 321.2 MB, free: 1.949 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002897/0.0058, allocations: 58.42 kB / 321.3 MB, free: 1.934 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000114/0.005914, allocations: 108.3 kB / 321.4 MB, free: 1.805 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003544/0.006268, allocations: 81.02 kB / 321.5 MB, free: 1.77 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.006435, allocations: 36.17 kB / 321.5 MB, free: 1.758 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.006452, allocations: 4 kB / 321.5 MB, free: 1.754 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.006475, allocations: 33.25 kB / 321.5 MB, free: 1.715 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.006476, allocations: 0 / 321.5 MB, free: 1.715 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005713/0.007047, allocations: 118.3 kB / 321.6 MB, free: 1.664 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.007104, allocations: 57.78 kB / 321.7 MB, free: 1.598 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.931e-05/0.007193, allocations: 110.2 kB / 321.8 MB, free: 1.492 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.007208, allocations: 25.7 kB / 321.8 MB, free: 1.461 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.608e-05/0.007234, allocations: 86.47 kB / 321.9 MB, free: 1.375 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.313e-05/0.007247, allocations: 6.094 kB / 321.9 MB, free: 1.371 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.007283, allocations: 13.2 kB / 321.9 MB, free: 1.355 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.55e-05/0.007348, allocations: 312.7 kB / 322.2 MB, free: 1.043 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.597e-05/0.007364, allocations: 9.922 kB / 322.3 MB, free: 1.035 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.142e-05/0.007375, allocations: 3.062 kB / 322.3 MB, free: 1.035 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.431e-05/0.00741, allocations: 12.2 kB / 322.3 MB, free: 1.023 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.007412, allocations: 0 / 322.3 MB, free: 1.023 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.449e-05/0.007476, allocations: 44.47 kB / 322.3 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.007495, allocations: 9.422 kB / 322.3 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.0075, allocations: 0 / 322.3 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.00752, allocations: 4.953 kB / 322.3 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.908e-05/0.007579, allocations: 3.422 kB / 322.3 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.007586, allocations: 4.094 kB / 322.3 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.68e-05/0.007603, allocations: 4.688 kB / 322.3 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.007608, allocations: 1.094 kB / 322.3 MB, free: 0.9727 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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.793e-05/0.007676, allocations: 118.1 kB / 322.5 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003211/0.007997, allocations: 87.61 kB / 322.5 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.199e-05/0.008029, allocations: 9.922 kB / 322.5 MB, free: 0.793 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.008032, allocations: 1.375 kB / 322.5 MB, free: 0.793 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.008039, allocations: 4.594 kB / 322.6 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.008044, allocations: 3.938 kB / 322.6 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.989e-05/0.008114, allocations: 101.5 kB / 322.7 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.008115, allocations: 4 kB / 322.7 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.008221, allocations: 15.14 kB / 322.7 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.008224, allocations: 1.031 kB / 322.7 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.008237, allocations: 5.219 kB / 322.7 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.008238, allocations: 0.9062 kB / 322.7 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.008239, allocations: 0 / 322.7 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003345/0.008574, allocations: 120.4 kB / 322.8 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.173e-05/0.008586, allocations: 2.25 kB / 322.8 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.008604, allocations: 5.969 kB / 322.8 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.207e-05/0.008676, allocations: 13.22 kB / 322.8 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-06/0.008681, allocations: 4 kB / 322.8 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.565e-06/0.008688, allocations: 7.062 kB / 322.8 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.312e-05/0.008721, allocations: 82.5 kB / 322.9 MB, free: 496 kB / 286.1 MB Notification: Performance of sort global known variables: time 7e-08/0.008721, allocations: 0 / 322.9 MB, free: 496 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001921/0.008914, allocations: 8.125 kB / 322.9 MB, free: 492 kB / 286.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.0001156/0.009029, allocations: 99.8 kB / 323 MB, free: 400 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002175/0.009247, allocations: 31.81 kB / 323 MB, free: 396 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.00925, allocations: 0 / 323 MB, free: 396 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.009251, allocations: 0 / 323 MB, free: 396 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.009654, allocations: 52.34 kB / 323.1 MB, free: 376 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000389/0.01004, allocations: 122.6 kB / 323.2 MB, free: 260 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.715e-05/0.01009, allocations: 69.16 kB / 323.3 MB, free: 184 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.269e-05/0.01011, allocations: 1.469 kB / 323.3 MB, free: 184 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.01014, allocations: 11.47 kB / 323.3 MB, free: 176 kB / 286.1 MB Notification: Performance of SimCode: time 5.61e-07/0.01014, allocations: 0 / 323.3 MB, free: 176 kB / 286.1 MB Notification: Performance of Templates: time 0.003262/0.01341, allocations: 0.5588 MB / 323.9 MB, free: 76 kB / 286.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.21781150624156]