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.0008236/0.0008236, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001105/0.001928, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006501/0.0006501, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008681/0.001518, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.8427/0.8427, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1455/0.9882, allocations: 52.49 MB / 238.5 MB, free: 7.637 MB / 234.7 MB " [Timeout remaining time 179] 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 6.81e-07/6.81e-07, allocations: 0 / 239.8 MB, free: 6.359 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.071e-06/6.752e-06, allocations: 2.312 kB / 239.8 MB, free: 6.355 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.001521/0.001528, allocations: 1.556 MB / 241.3 MB, free: 4.809 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 7.357e-05/0.001601, allocations: 35.84 kB / 241.3 MB, free: 4.773 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.416e-05/0.001626, allocations: 3.938 kB / 241.4 MB, free: 4.77 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 1.166e-05/0.001637, allocations: 1.469 kB / 241.4 MB, free: 4.77 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 1.504e-05/0.001652, allocations: 7.922 kB / 241.4 MB, free: 4.762 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.148e-05/0.001744, allocations: 23.97 kB / 241.4 MB, free: 4.738 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 5.101e-05/0.001795, allocations: 39.86 kB / 241.4 MB, free: 4.699 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.86e-05/0.001833, allocations: 8.812 kB / 241.4 MB, free: 4.691 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.754e-05/0.001881, allocations: 27.95 kB / 241.5 MB, free: 4.664 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.471e-05/0.001906, allocations: 21.02 kB / 241.5 MB, free: 4.645 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.001918, allocations: 4 kB / 241.5 MB, free: 4.641 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.811e-06/0.001924, allocations: 0 / 241.5 MB, free: 4.641 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.259e-05/0.001936, allocations: 11.12 kB / 241.5 MB, free: 4.633 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.531e-05/0.001952, allocations: 7.938 kB / 241.5 MB, free: 4.625 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 4.899e-05/0.002001, allocations: 23.86 kB / 241.5 MB, free: 4.602 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.002007, allocations: 0 / 241.5 MB, free: 4.602 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.81e-07/0.002007, allocations: 0 / 241.5 MB, free: 4.602 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.002012, allocations: 0 / 241.5 MB, free: 4.602 MB / 234.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.0002025/0.002215, allocations: 264.4 kB / 241.8 MB, free: 4.316 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 1.888e-05/0.002234, allocations: 12.03 kB / 241.8 MB, free: 4.305 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.72e-05/0.002251, allocations: 10.22 kB / 241.8 MB, free: 4.297 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.108e-05/0.002332, allocations: 121.7 kB / 241.9 MB, free: 4.152 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.002341, allocations: 384 / 241.9 MB, free: 4.152 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.853e-06/0.002348, allocations: 5.438 kB / 241.9 MB, free: 4.148 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.002497, allocations: 111.5 kB / 242 MB, free: 4.027 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.406e-06/0.0025, allocations: 192 / 242 MB, free: 4.027 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.03e-06/0.002505, allocations: 4.359 kB / 242 MB, free: 4.023 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.485e-06/0.002508, allocations: 384 / 242 MB, free: 4.023 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.064e-05/0.002528, allocations: 15.92 kB / 242.1 MB, free: 4.008 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 3.589e-05/0.002564, allocations: 57.05 kB / 242.1 MB, free: 3.938 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.151e-05/0.002606, allocations: 38.48 kB / 242.2 MB, free: 3.891 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.617e-05/0.002622, allocations: 13.67 kB / 242.2 MB, free: 3.875 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.609e-06/0.002626, allocations: 0 / 242.2 MB, free: 3.875 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.503e-05/0.002641, allocations: 38.55 kB / 242.2 MB, free: 3.828 MB / 234.7 MB Notification: Performance of pre-optimization done (n=4): time 5.01e-07/0.002642, allocations: 0.9688 kB / 242.2 MB, free: 3.828 MB / 234.7 MB Notification: Performance of matching and sorting (n=4): time 5.544e-05/0.002697, allocations: 45.69 kB / 242.2 MB, free: 3.777 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.002722, allocations: 52.31 kB / 242.3 MB, free: 3.715 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.72e-05/0.002759, allocations: 118.6 kB / 242.4 MB, free: 3.586 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/0.002768, allocations: 31.48 kB / 242.4 MB, free: 3.551 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.566e-05/0.002783, allocations: 80.14 kB / 242.5 MB, free: 3.469 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.491e-06/0.002789, allocations: 4 kB / 242.5 MB, free: 3.465 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.716e-05/0.002806, allocations: 17.66 kB / 242.5 MB, free: 3.438 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 5.939e-05/0.002865, allocations: 322.8 kB / 242.9 MB, free: 3.113 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.807e-06/0.002869, allocations: 4.656 kB / 242.9 MB, free: 3.109 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.336e-06/0.002872, allocations: 0.6875 kB / 242.9 MB, free: 3.109 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.166e-05/0.002884, allocations: 10.83 kB / 242.9 MB, free: 3.098 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.002885, allocations: 0 / 242.9 MB, free: 3.098 MB / 234.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 2.369e-05/0.002909, allocations: 37.69 kB / 242.9 MB, free: 3.055 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.144e-06/0.002916, allocations: 4 kB / 242.9 MB, free: 3.051 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-06/0.002918, allocations: 3.938 kB / 242.9 MB, free: 3.047 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.709e-06/0.002922, allocations: 1.469 kB / 242.9 MB, free: 3.047 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.901e-05/0.002941, allocations: 4 kB / 242.9 MB, free: 3.043 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-06/0.002943, allocations: 0 / 242.9 MB, free: 3.043 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.131e-06/0.002949, allocations: 0 / 242.9 MB, free: 3.043 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-06/0.002951, allocations: 0.625 kB / 242.9 MB, free: 3.043 MB / 234.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 3.957e-05/0.00299, allocations: 114.4 kB / 243 MB, free: 2.922 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/0.003019, allocations: 41.69 kB / 243.1 MB, free: 2.875 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.436e-05/0.003034, allocations: 12.52 kB / 243.1 MB, free: 2.855 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.01e-07/0.003034, allocations: 1.688 kB / 243.1 MB, free: 2.855 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-06/0.003036, allocations: 0 / 243.1 MB, free: 2.855 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-06/0.003037, allocations: 0 / 243.1 MB, free: 2.855 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.519e-05/0.003072, allocations: 65.84 kB / 243.2 MB, free: 2.773 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.003073, allocations: 0 / 243.2 MB, free: 2.773 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.899e-05/0.003112, allocations: 21.14 kB / 243.2 MB, free: 2.754 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-06/0.003118, allocations: 11.88 kB / 243.2 MB, free: 2.742 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.71e-07/0.003119, allocations: 240 / 243.2 MB, free: 2.742 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.366e-06/0.003122, allocations: 1 kB / 243.2 MB, free: 2.742 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.4e-07/0.003122, allocations: 0 / 243.2 MB, free: 2.742 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.31e-07/0.003123, allocations: 4 kB / 243.2 MB, free: 2.738 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 2.754e-05/0.00315, allocations: 62.05 kB / 243.3 MB, free: 2.66 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.418e-06/0.00316, allocations: 3.984 kB / 243.3 MB, free: 2.656 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.549e-05/0.003175, allocations: 8.75 kB / 243.3 MB, free: 2.648 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.462e-06/0.003177, allocations: 0 / 243.3 MB, free: 2.648 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-06/0.003179, allocations: 4.438 kB / 243.3 MB, free: 2.645 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.051e-05/0.00319, allocations: 16.84 kB / 243.3 MB, free: 2.625 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00319, allocations: 0.8125 kB / 243.3 MB, free: 2.625 MB / 234.7 MB Notification: Performance of remove unused functions: time 7.953e-05/0.003269, allocations: 4 kB / 243.3 MB, free: 2.621 MB / 234.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 4.172e-05/0.003311, allocations: 78.08 kB / 243.4 MB, free: 2.539 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 3.584e-05/0.003347, allocations: 16.8 kB / 243.4 MB, free: 2.52 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.00335, allocations: 8.188 kB / 243.4 MB, free: 2.512 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.00335, allocations: 4 kB / 243.4 MB, free: 2.508 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001038/0.003454, allocations: 84.75 kB / 243.5 MB, free: 2.41 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002514/0.003706, allocations: 134.9 kB / 243.6 MB, free: 2.254 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.224e-05/0.003728, allocations: 59.34 kB / 243.7 MB, free: 2.176 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 8.045e-06/0.003736, allocations: 0 / 243.7 MB, free: 2.176 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.371e-05/0.00377, allocations: 51.38 kB / 243.7 MB, free: 2.125 MB / 234.7 MB Notification: Performance of SimCode: time 3.51e-07/0.00377, allocations: 0 / 243.7 MB, free: 2.125 MB / 234.7 MB Notification: Performance of Templates: time 0.001426/0.005196, allocations: 0.6182 MB / 244.3 MB, free: 1.531 MB / 234.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.236672205850482]