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.001185/0.001185, allocations: 87.67 kB / 21.19 MB, free: 3.367 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.001048/0.001048, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 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 1.109/1.109, allocations: 177 MB / 204.8 MB, free: 5.613 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 2.073e-06/2.073e-06, allocations: 0 / 272.9 MB, free: 1.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.053e-05/3.26e-05, allocations: 6.25 kB / 272.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002582/0.002614, allocations: 1.528 MB / 274.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002281/0.002843, allocations: 35.84 kB / 274.5 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.753e-05/0.00292, allocations: 0 / 274.5 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.875e-05/0.002959, allocations: 7.922 kB / 274.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.207e-05/0.003011, allocations: 7.938 kB / 274.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003115/0.003322, allocations: 35.84 kB / 274.5 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000102/0.003424, allocations: 31.92 kB / 274.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.003534, allocations: 7.984 kB / 274.6 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.976e-05/0.003614, allocations: 27.92 kB / 274.6 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.335e-05/0.003657, allocations: 15.97 kB / 274.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.136e-05/0.003689, allocations: 4 kB / 274.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.324e-05/0.003702, allocations: 4 kB / 274.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.637e-05/0.003728, allocations: 4 kB / 274.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.287e-05/0.003771, allocations: 15.92 kB / 274.6 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.003905, allocations: 27.95 kB / 274.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.003909, allocations: 0 / 274.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.00391, allocations: 0 / 274.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.003917, allocations: 3.938 kB / 274.7 MB, free: 15.71 MB / 266.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.000512/0.004429, allocations: 372.6 kB / 275 MB, free: 15.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.004481, allocations: 19.98 kB / 275.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.004534, allocations: 8.891 kB / 275.1 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.004743, allocations: 128.4 kB / 275.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.004771, allocations: 4.375 kB / 275.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.004783, allocations: 384 / 275.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.005053, allocations: 118.2 kB / 275.3 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.00506, allocations: 192 / 275.3 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.005072, allocations: 4.359 kB / 275.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.005079, allocations: 4.375 kB / 275.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.662e-05/0.005116, allocations: 19.86 kB / 275.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001125/0.005228, allocations: 112.6 kB / 275.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.354e-05/0.005312, allocations: 43.09 kB / 275.5 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.18e-05/0.005354, allocations: 19.72 kB / 275.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.005367, allocations: 4 kB / 275.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.005395, allocations: 33.39 kB / 275.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.005396, allocations: 0 / 275.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001724/0.005569, allocations: 53.62 kB / 275.6 MB, free: 14.63 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.005619, allocations: 63.39 kB / 275.7 MB, free: 14.56 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.68e-05/0.005706, allocations: 173.9 kB / 275.8 MB, free: 14.37 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.005719, allocations: 25.7 kB / 275.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.203e-05/0.005761, allocations: 126.9 kB / 276 MB, free: 14.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.419e-05/0.005775, allocations: 11.89 kB / 276 MB, free: 14.2 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.557e-05/0.0058, allocations: 19.38 kB / 276 MB, free: 14.17 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.005932, allocations: 496.1 kB / 276.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.336e-06/0.00594, allocations: 0 / 276.5 MB, free: 13.68 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.903e-06/0.005947, allocations: 3.984 kB / 276.5 MB, free: 13.67 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.762e-05/0.005974, allocations: 19.62 kB / 276.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.005977, allocations: 64 / 276.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.471e-05/0.006022, allocations: 37.7 kB / 276.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.006037, allocations: 10.66 kB / 276.6 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.006041, allocations: 0 / 276.6 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.006055, allocations: 0 / 276.6 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.239e-05/0.006108, allocations: 4 kB / 276.6 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.006119, allocations: 320 / 276.6 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.317e-05/0.006132, allocations: 3.938 kB / 276.6 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.006138, allocations: 3.984 kB / 276.6 MB, free: 13.59 MB / 266.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 9.12e-05/0.006229, allocations: 160.6 kB / 276.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.484e-05/0.006284, allocations: 57.61 kB / 276.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.953e-05/0.006313, allocations: 4 kB / 276.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.006315, allocations: 0 / 276.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.00632, allocations: 0 / 276.8 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.006325, allocations: 7.938 kB / 276.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.819e-05/0.006393, allocations: 116.6 kB / 276.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.006394, allocations: 0 / 276.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.501e-05/0.006449, allocations: 15.98 kB / 276.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.006451, allocations: 0 / 276.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.433e-06/0.006458, allocations: 0 / 276.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.006459, allocations: 0 / 276.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.006462, allocations: 7.984 kB / 276.9 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.045e-05/0.006552, allocations: 104.5 kB / 277 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.052e-05/0.006563, allocations: 7.953 kB / 277 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.006579, allocations: 3.938 kB / 277 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.782e-05/0.006596, allocations: 4 kB / 277.1 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-06/0.0066, allocations: 0 / 277.1 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.006604, allocations: 0 / 277.1 MB, free: 13.03 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.488e-05/0.006669, allocations: 139.2 kB / 277.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006669, allocations: 0 / 277.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001175/0.006786, allocations: 4 kB / 277.2 MB, free: 12.89 MB / 266.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 9.819e-05/0.006885, allocations: 99.19 kB / 277.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.583e-05/0.00697, allocations: 19.67 kB / 277.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.006973, allocations: 0 / 277.3 MB, free: 12.76 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.01e-07/0.006973, allocations: 4 kB / 277.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.007194, allocations: 29.3 kB / 277.3 MB, free: 12.72 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002783/0.007472, allocations: 128.8 kB / 277.5 MB, free: 12.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.866e-05/0.007511, allocations: 55.36 kB / 277.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.697e-05/0.007528, allocations: 0 / 277.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.27e-05/0.007561, allocations: 20.55 kB / 277.5 MB, free: 12.47 MB / 266.7 MB Notification: Performance of SimCode: time 8.81e-07/0.007562, allocations: 4 kB / 277.5 MB, free: 12.47 MB / 266.7 MB Notification: Performance of Templates: time 0.002233/0.009795, allocations: 0.567 MB / 278.1 MB, free: 11.91 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8139389492571354]