Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 123.4 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.69/1.69, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00171/0.00171, allocations: 47.92 kB / 373.5 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.123, allocations: 53.32 MB / 426.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.003014/0.126, allocations: 1.484 MB / 428.3 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002349/0.1262, allocations: 39.89 kB / 428.3 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.61e-05/0.1263, allocations: 7.938 kB / 428.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.364e-05/0.1263, allocations: 0 / 428.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.288e-05/0.1264, allocations: 3.938 kB / 428.3 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003026/0.1267, allocations: 23.97 kB / 428.4 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.1268, allocations: 35.92 kB / 428.4 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.1269, allocations: 11.98 kB / 428.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.062e-05/0.127, allocations: 15.92 kB / 428.4 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.134e-05/0.127, allocations: 19.86 kB / 428.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.127, allocations: 4 kB / 428.5 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.103e-05/0.127, allocations: 4 kB / 428.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.5e-05/0.1271, allocations: 11.98 kB / 428.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.966e-05/0.1271, allocations: 23.86 kB / 428.5 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.1272, allocations: 35.83 kB / 428.5 MB, free: 2.547 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1273, allocations: 0 / 428.5 MB, free: 2.547 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1273, allocations: 0 / 428.5 MB, free: 2.547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1273, allocations: 0 / 428.5 MB, free: 2.547 MB / 350.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.0006343/0.1279, allocations: 355.4 kB / 428.9 MB, free: 2.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.1279, allocations: 8.031 kB / 428.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.128, allocations: 4.891 kB / 428.9 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.1282, allocations: 196.2 kB / 429.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.1283, allocations: 384 / 429.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.1283, allocations: 8.375 kB / 429.1 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006579/0.1289, allocations: 159.7 kB / 429.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.1289, allocations: 192 / 429.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.129, allocations: 3.938 kB / 429.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.129, allocations: 0 / 429.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002936/0.1293, allocations: 51.94 kB / 429.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000198/0.1295, allocations: 161.7 kB / 429.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003627/0.1298, allocations: 86.44 kB / 429.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.13, allocations: 32.91 kB / 429.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.13, allocations: 0 / 429.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.13, allocations: 30.56 kB / 429.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.13, allocations: 4 kB / 429.6 MB, free: 1.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005495/0.1306, allocations: 125.5 kB / 429.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.93e-05/0.1306, allocations: 59.34 kB / 429.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.1308, allocations: 109.8 kB / 429.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.1308, allocations: 25.7 kB / 429.9 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.856e-05/0.1308, allocations: 84.14 kB / 430 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.1308, allocations: 7.953 kB / 430 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.1309, allocations: 17.72 kB / 430 MB, free: 0.832 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.131, allocations: 318.8 kB / 430.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.882e-05/0.1311, allocations: 8 kB / 430.3 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.64e-05/0.1311, allocations: 23.44 kB / 430.4 MB, free: 480 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.704e-05/0.1312, allocations: 43.31 kB / 430.4 MB, free: 424 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1312, allocations: 0 / 430.4 MB, free: 424 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001023/0.1313, allocations: 61.62 kB / 430.5 MB, free: 356 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1313, allocations: 4 kB / 430.5 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.1313, allocations: 3.938 kB / 430.5 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.1313, allocations: 4 kB / 430.5 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.99e-05/0.1314, allocations: 15.92 kB / 430.5 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.1314, allocations: 0 / 430.5 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.422e-05/0.1314, allocations: 4.125 kB / 430.5 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.525e-06/0.1314, allocations: 4 kB / 430.5 MB, free: 320 kB / 350.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.0001077/0.1315, allocations: 113.8 kB / 430.6 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003477/0.1319, allocations: 89.58 kB / 430.7 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.184e-05/0.1319, allocations: 11.84 kB / 430.7 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1319, allocations: 0 / 430.7 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1319, allocations: 0 / 430.7 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1319, allocations: 3.938 kB / 430.7 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.1321, allocations: 165.8 kB / 430.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1321, allocations: 4 kB / 430.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.1322, allocations: 11.98 kB / 430.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1322, allocations: 0 / 430.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.1322, allocations: 7.922 kB / 430.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1322, allocations: 7.938 kB / 430.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1322, allocations: 0 / 430.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003558/0.1325, allocations: 109 kB / 431 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.788e-05/0.1326, allocations: 85.09 kB / 431.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.1326, allocations: 3.938 kB / 431.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.771e-05/0.1327, allocations: 15.98 kB / 431.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-06/0.1327, allocations: 0 / 431.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.1327, allocations: 4 kB / 431.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.858e-05/0.1328, allocations: 79.28 kB / 431.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1328, allocations: 0 / 431.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002033/0.133, allocations: 8 kB / 431.2 MB, free: 15.49 MB / 366.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.0001529/0.1331, allocations: 111.6 kB / 431.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002444/0.1334, allocations: 35.97 kB / 431.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1334, allocations: 0 / 431.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.6e-07/0.1334, allocations: 4 kB / 431.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.1338, allocations: 43.92 kB / 431.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004317/0.1342, allocations: 133.9 kB / 431.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.1346, allocations: 0.6807 MB / 432.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.549e-05/0.1346, allocations: 256 / 432.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.325e-05/0.1346, allocations: 15.44 kB / 432.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1346, allocations: 0 / 432.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of Templates: time 0.003376/0.138, allocations: 0.5245 MB / 432.8 MB, free: 13.89 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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: 5.007732965052128]