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.001256/0.001256, allocations: 119.1 kB / 18.46 MB, free: 4.562 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.001622/0.001622, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.54/1.54, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.001933/0.001933, allocations: 51.92 kB / 374.2 MB, free: 9.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1173, allocations: 53.34 MB / 427.5 MB, free: 4.402 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.004542/0.1218, allocations: 1.47 MB / 429 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002935/0.1221, allocations: 31.91 kB / 429 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.621e-05/0.1222, allocations: 7.938 kB / 429 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.903e-05/0.1223, allocations: 7.922 kB / 429 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.183e-05/0.1223, allocations: 0 / 429 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003435/0.1227, allocations: 31.91 kB / 429 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.1228, allocations: 35.92 kB / 429.1 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.1229, allocations: 3.984 kB / 429.1 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.377e-05/0.123, allocations: 19.92 kB / 429.1 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.566e-05/0.1231, allocations: 23.91 kB / 429.1 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.1231, allocations: 4 kB / 429.1 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.01e-05/0.1231, allocations: 4 kB / 429.1 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.72e-05/0.1231, allocations: 8 kB / 429.1 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.612e-05/0.1232, allocations: 19.86 kB / 429.2 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.1234, allocations: 39.81 kB / 429.2 MB, free: 2.688 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1234, allocations: 0 / 429.2 MB, free: 2.688 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1234, allocations: 0 / 429.2 MB, free: 2.688 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1234, allocations: 0 / 429.2 MB, free: 2.688 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.000752/0.1241, allocations: 355.4 kB / 429.5 MB, free: 2.289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.1242, allocations: 12.03 kB / 429.6 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.565e-05/0.1242, allocations: 8.828 kB / 429.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003507/0.1246, allocations: 192.2 kB / 429.8 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.1246, allocations: 4.375 kB / 429.8 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.1246, allocations: 4.375 kB / 429.8 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008763/0.1255, allocations: 159.7 kB / 429.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.1255, allocations: 192 / 429.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.1255, allocations: 3.938 kB / 429.9 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.1256, allocations: 0 / 429.9 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004011/0.126, allocations: 51.94 kB / 430 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002363/0.1262, allocations: 161.6 kB / 430.1 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005101/0.1267, allocations: 82.5 kB / 430.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.1269, allocations: 44.89 kB / 430.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.1269, allocations: 0 / 430.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.127, allocations: 30.56 kB / 430.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.372e-06/0.127, allocations: 4 kB / 430.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000813/0.1278, allocations: 117.5 kB / 430.4 MB, free: 1.305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.368e-05/0.1279, allocations: 59.39 kB / 430.5 MB, free: 1.234 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.128, allocations: 105.9 kB / 430.6 MB, free: 1.121 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.128, allocations: 25.7 kB / 430.6 MB, free: 1.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.39e-05/0.1281, allocations: 84.12 kB / 430.7 MB, free: 1.004 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.1281, allocations: 3.953 kB / 430.7 MB, free: 1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.94e-05/0.1282, allocations: 17.72 kB / 430.7 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000204/0.1284, allocations: 322.8 kB / 431 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.36e-05/0.1284, allocations: 3.984 kB / 431 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.125e-05/0.1284, allocations: 31.44 kB / 431 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.876e-05/0.1285, allocations: 43.31 kB / 431.1 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.1285, allocations: 0 / 431.1 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001454/0.1287, allocations: 61.62 kB / 431.1 MB, free: 496 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1287, allocations: 7.938 kB / 431.2 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.1287, allocations: 3.938 kB / 431.2 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.1287, allocations: 4 kB / 431.2 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.524e-05/0.1288, allocations: 7.984 kB / 431.2 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.1288, allocations: 4 kB / 431.2 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.232e-05/0.1289, allocations: 128 / 431.2 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.1289, allocations: 8 kB / 431.2 MB, free: 460 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.0001235/0.129, allocations: 109.8 kB / 431.3 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004671/0.1295, allocations: 93.53 kB / 431.4 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.773e-05/0.1295, allocations: 11.83 kB / 431.4 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1295, allocations: 0 / 431.4 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1295, allocations: 0 / 431.4 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1295, allocations: 0 / 431.4 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.1297, allocations: 161.7 kB / 431.6 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.967e-05/0.1297, allocations: 7.984 kB / 431.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.1299, allocations: 15.94 kB / 431.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1299, allocations: 0 / 431.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.1299, allocations: 4.062 kB / 431.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.1299, allocations: 4 kB / 431.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.1299, allocations: 4 kB / 431.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004979/0.1304, allocations: 113 kB / 431.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.58e-05/0.1305, allocations: 81.11 kB / 431.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.1305, allocations: 7.922 kB / 431.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.1306, allocations: 8 kB / 431.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-06/0.1306, allocations: 3.938 kB / 431.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.1306, allocations: 7.984 kB / 431.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.253e-05/0.1307, allocations: 83.28 kB / 431.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1307, allocations: 0 / 431.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003257/0.131, allocations: 4 kB / 431.9 MB, free: 15.63 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.0001713/0.1312, allocations: 100 kB / 432 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003474/0.1315, allocations: 51.95 kB / 432 MB, free: 15.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1315, allocations: 0 / 432 MB, free: 15.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.1315, allocations: 0 / 432 MB, free: 15.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005693/0.1321, allocations: 43.98 kB / 432.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006081/0.1327, allocations: 159.2 kB / 432.2 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/0.1331, allocations: 0.6846 MB / 432.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.526e-05/0.1332, allocations: 7.438 kB / 432.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1332, allocations: 4 kB / 432.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of Templates: time 0.002441/0.1356, allocations: 0.691 MB / 433.6 MB, free: 13.84 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","/var/lib/jenkins1/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: 6.8450432809768245]