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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007962/0.0007962, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004759/0.004759, allocations: 159.5 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8893/0.8893, allocations: 177 MB / 204.9 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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=5011,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=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.026e-05/3.196e-05, allocations: 6.219 kB / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002265/0.002296, allocations: 1.482 MB / 327.3 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002621/0.002559, allocations: 35.91 kB / 327.3 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.298e-05/0.002642, allocations: 3.938 kB / 327.3 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.193e-05/0.002674, allocations: 0 / 327.3 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.571e-05/0.002719, allocations: 11.88 kB / 327.3 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002869/0.003006, allocations: 31.27 kB / 327.4 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.764e-05/0.003104, allocations: 39.92 kB / 327.4 MB, free: 13.78 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.003213, allocations: 8 kB / 327.4 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.3e-05/0.003286, allocations: 31.89 kB / 327.4 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.855e-05/0.003324, allocations: 11.98 kB / 327.4 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.00335, allocations: 4 kB / 327.4 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.542e-05/0.003365, allocations: 8 kB / 327.5 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.978e-05/0.003385, allocations: 0 / 327.5 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.581e-05/0.003421, allocations: 15.92 kB / 327.5 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.003536, allocations: 35.94 kB / 327.5 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.00354, allocations: 0 / 327.5 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.003541, allocations: 0 / 327.5 MB, free: 13.67 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.003547, allocations: 3.938 kB / 327.5 MB, free: 13.66 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.0004604/0.004007, allocations: 290.2 kB / 327.8 MB, free: 13.35 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.004048, allocations: 11.98 kB / 327.8 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.218e-05/0.00408, allocations: 8.891 kB / 327.8 MB, free: 13.33 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.004278, allocations: 125.7 kB / 327.9 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.004298, allocations: 4.375 kB / 327.9 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.467e-06/0.004308, allocations: 384 / 327.9 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000576/0.004884, allocations: 163.7 kB / 328.1 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.004892, allocations: 192 / 328.1 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.004904, allocations: 4.375 kB / 328.1 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.004909, allocations: 384 / 328.1 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.005041, allocations: 51.88 kB / 328.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001087/0.005149, allocations: 109.3 kB / 328.3 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.005325, allocations: 82.52 kB / 328.3 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.459e-05/0.0054, allocations: 40.88 kB / 328.4 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-06/0.005409, allocations: 7.938 kB / 328.4 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.005429, allocations: 34.56 kB / 328.4 MB, free: 12.63 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.00543, allocations: 0 / 328.4 MB, free: 12.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002743/0.005704, allocations: 109.6 kB / 328.5 MB, free: 12.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.005757, allocations: 51.41 kB / 328.6 MB, free: 12.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.536e-05/0.005823, allocations: 113.8 kB / 328.7 MB, free: 12.33 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.005836, allocations: 25.7 kB / 328.7 MB, free: 12.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.007e-05/0.005866, allocations: 84.14 kB / 328.8 MB, free: 12.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.005881, allocations: 15.88 kB / 328.8 MB, free: 12.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/0.005906, allocations: 17.66 kB / 328.8 MB, free: 12.18 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.702e-05/0.005983, allocations: 314.8 kB / 329.1 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.068e-05/0.005994, allocations: 7.938 kB / 329.1 MB, free: 11.85 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.981e-06/0.006, allocations: 0 / 329.1 MB, free: 11.85 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.399e-05/0.006024, allocations: 12.86 kB / 329.2 MB, free: 11.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.006026, allocations: 0 / 329.2 MB, free: 11.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.361e-05/0.006069, allocations: 37.69 kB / 329.2 MB, free: 11.79 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.006085, allocations: 8 kB / 329.2 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.006091, allocations: 4.094 kB / 329.2 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.006104, allocations: 0 / 329.2 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.412e-05/0.006158, allocations: 4 kB / 329.2 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.006163, allocations: 0 / 329.2 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.238e-06/0.006172, allocations: 7.875 kB / 329.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.006176, allocations: 0 / 329.2 MB, free: 11.77 MB / 298.7 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.679e-05/0.006243, allocations: 113.8 kB / 329.3 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.006381, allocations: 89.58 kB / 329.4 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.421e-05/0.006405, allocations: 8 kB / 329.4 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.006407, allocations: 0 / 329.4 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.006411, allocations: 8 kB / 329.4 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.006415, allocations: 3.938 kB / 329.4 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.967e-05/0.006465, allocations: 109.3 kB / 329.5 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.006466, allocations: 0 / 329.5 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.633e-05/0.006512, allocations: 11.98 kB / 329.6 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.006513, allocations: 0 / 329.6 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.006521, allocations: 7.984 kB / 329.6 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.006523, allocations: 0 / 329.6 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.006524, allocations: 0 / 329.6 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.006673, allocations: 113 kB / 329.7 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.306e-06/0.006681, allocations: 7.938 kB / 329.7 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.006695, allocations: 12 kB / 329.7 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.729e-05/0.006722, allocations: 15.92 kB / 329.7 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.174e-06/0.006724, allocations: 0 / 329.7 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.006728, allocations: 0 / 329.7 MB, free: 11.21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.067e-05/0.006758, allocations: 87.28 kB / 329.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006758, allocations: 0 / 329.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001137/0.006872, allocations: 4 kB / 329.8 MB, free: 11.12 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.524e-05/0.006957, allocations: 99.17 kB / 329.9 MB, free: 11.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001174/0.007075, allocations: 36.19 kB / 329.9 MB, free: 10.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.007077, allocations: 4.062 kB / 329.9 MB, free: 10.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.007077, allocations: 0 / 329.9 MB, free: 10.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.007331, allocations: 44.08 kB / 330 MB, free: 10.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002799/0.007611, allocations: 158.5 kB / 330.1 MB, free: 10.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.259e-05/0.007653, allocations: 63.34 kB / 330.2 MB, free: 10.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.654e-05/0.00768, allocations: 12.5 kB / 330.2 MB, free: 10.65 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.00768, allocations: 0 / 330.2 MB, free: 10.65 MB / 298.7 MB Notification: Performance of Templates: time 0.001655/0.009335, allocations: 0.6709 MB / 330.9 MB, free: 9.988 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.030191062018275]