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.001552/0.001552, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001788/0.001788, allocations: 163.9 kB / 25.61 MB, free: 8.582 MB / 18.57 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.032/1.032, allocations: 177.1 MB / 206.1 MB, free: 4.477 MB / 186.7 MB " [Timeout remaining time 179] 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 1.223e-06/1.223e-06, allocations: 0 / 274.2 MB, free: 4.395 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886e-05/2.009e-05, allocations: 6.312 kB / 274.2 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.001945/0.001965, allocations: 1.502 MB / 275.7 MB, free: 2.891 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001895/0.002155, allocations: 43.83 kB / 275.8 MB, free: 2.848 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.848e-05/0.002223, allocations: 0.5 kB / 275.8 MB, free: 2.848 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.965e-05/0.002253, allocations: 4.625 kB / 275.8 MB, free: 2.844 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.941e-05/0.002302, allocations: 3.938 kB / 275.8 MB, free: 2.84 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.002548, allocations: 32.47 kB / 275.8 MB, free: 2.809 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.661e-05/0.002635, allocations: 35.92 kB / 275.8 MB, free: 2.773 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.667e-05/0.002731, allocations: 14.45 kB / 275.8 MB, free: 2.762 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.955e-05/0.002801, allocations: 23.97 kB / 275.9 MB, free: 2.738 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.523e-05/0.002836, allocations: 15.92 kB / 275.9 MB, free: 2.723 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.002857, allocations: 4 kB / 275.9 MB, free: 2.719 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.005e-05/0.002867, allocations: 4 kB / 275.9 MB, free: 2.715 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.373e-05/0.002891, allocations: 3.984 kB / 275.9 MB, free: 2.711 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.425e-05/0.002915, allocations: 13.88 kB / 275.9 MB, free: 2.699 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.606e-05/0.003001, allocations: 27.95 kB / 275.9 MB, free: 2.672 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.003003, allocations: 0 / 275.9 MB, free: 2.672 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.003003, allocations: 4 kB / 275.9 MB, free: 2.668 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.003008, allocations: 0 / 275.9 MB, free: 2.668 MB / 250.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.0003705/0.003379, allocations: 377 kB / 276.3 MB, free: 2.262 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.003411, allocations: 8.031 kB / 276.3 MB, free: 2.254 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.913e-05/0.00344, allocations: 13.55 kB / 276.3 MB, free: 2.242 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.003567, allocations: 128.5 kB / 276.5 MB, free: 2.09 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.003583, allocations: 4.312 kB / 276.5 MB, free: 2.086 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.003591, allocations: 4.375 kB / 276.5 MB, free: 2.082 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.003772, allocations: 122.1 kB / 276.6 MB, free: 1.945 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.00378, allocations: 192 / 276.6 MB, free: 1.945 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.003787, allocations: 384 / 276.6 MB, free: 1.945 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.003794, allocations: 384 / 276.6 MB, free: 1.945 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.336e-05/0.003817, allocations: 15.86 kB / 276.6 MB, free: 1.93 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.085e-05/0.003898, allocations: 101.3 kB / 276.7 MB, free: 1.805 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.294e-05/0.003961, allocations: 39.05 kB / 276.7 MB, free: 1.754 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.493e-05/0.003986, allocations: 15.75 kB / 276.7 MB, free: 1.734 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.935e-06/0.003994, allocations: 7.984 kB / 276.8 MB, free: 1.727 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.004013, allocations: 37.39 kB / 276.8 MB, free: 1.68 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.004014, allocations: 0 / 276.8 MB, free: 1.68 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001112/0.004125, allocations: 49.62 kB / 276.8 MB, free: 1.625 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.004166, allocations: 55.41 kB / 276.9 MB, free: 1.559 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.376e-05/0.00423, allocations: 165.9 kB / 277.1 MB, free: 1.379 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.978e-06/0.004239, allocations: 25.7 kB / 277.1 MB, free: 1.348 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/0.004279, allocations: 142.8 kB / 277.2 MB, free: 1.203 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.017e-06/0.004288, allocations: 3.953 kB / 277.2 MB, free: 1.199 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.39e-05/0.004312, allocations: 23.38 kB / 277.2 MB, free: 1.168 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.004427, allocations: 500 kB / 277.7 MB, free: 0.668 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.48e-06/0.004433, allocations: 0 / 277.7 MB, free: 0.668 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.342e-06/0.004439, allocations: 4 kB / 277.7 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.309e-05/0.004462, allocations: 15.66 kB / 277.8 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.004463, allocations: 4 kB / 277.8 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.79e-05/0.004501, allocations: 37.64 kB / 277.8 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.004512, allocations: 8.094 kB / 277.8 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.004516, allocations: 0 / 277.8 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.115e-06/0.004524, allocations: 0 / 277.8 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.259e-05/0.004557, allocations: 4 kB / 277.8 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.00456, allocations: 0 / 277.8 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.225e-06/0.004568, allocations: 0 / 277.8 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-06/0.004572, allocations: 3.938 kB / 277.8 MB, free: 0.582 MB / 250.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.396e-05/0.004636, allocations: 160.6 kB / 278 MB, free: 424 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.051e-05/0.004676, allocations: 49.61 kB / 278 MB, free: 368 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.449e-05/0.004701, allocations: 8 kB / 278 MB, free: 356 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.004702, allocations: 0 / 278 MB, free: 356 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.004704, allocations: 4 kB / 278 MB, free: 352 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.004709, allocations: 4 kB / 278 MB, free: 348 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.136e-05/0.00477, allocations: 105.1 kB / 278.1 MB, free: 216 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.004771, allocations: 4 kB / 278.1 MB, free: 212 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.888e-05/0.00481, allocations: 8 kB / 278.1 MB, free: 204 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.004811, allocations: 0 / 278.1 MB, free: 204 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.004819, allocations: 11.98 kB / 278.2 MB, free: 192 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.00482, allocations: 0 / 278.2 MB, free: 192 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.00482, allocations: 0 / 278.2 MB, free: 192 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.09e-05/0.004861, allocations: 64.39 kB / 278.2 MB, free: 104 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.143e-06/0.004868, allocations: 4 kB / 278.2 MB, free: 100 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.048e-05/0.004879, allocations: 7.938 kB / 278.2 MB, free: 92 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.77e-05/0.004897, allocations: 7.984 kB / 278.2 MB, free: 84 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.475e-06/0.004899, allocations: 0 / 278.2 MB, free: 84 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.004901, allocations: 0 / 278.2 MB, free: 84 kB / 250.7 MB Notification: Performance of sorting global known variables: time 4.819e-05/0.00495, allocations: 127.1 kB / 278.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00495, allocations: 0 / 278.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001098/0.00506, allocations: 8 kB / 278.4 MB, free: 15.95 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 6.981e-05/0.005129, allocations: 99.23 kB / 278.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.949e-05/0.005199, allocations: 23.67 kB / 278.5 MB, free: 15.81 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.163e-06/0.0052, allocations: 0 / 278.5 MB, free: 15.81 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.005201, allocations: 0 / 278.5 MB, free: 15.81 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/0.00537, allocations: 29.3 kB / 278.5 MB, free: 15.78 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000204/0.005574, allocations: 124.9 kB / 278.6 MB, free: 15.63 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.936e-05/0.005604, allocations: 63.2 kB / 278.7 MB, free: 15.55 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.456e-05/0.005618, allocations: 384 / 278.7 MB, free: 15.55 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.548e-05/0.005664, allocations: 70.2 kB / 278.8 MB, free: 15.48 MB / 266.7 MB Notification: Performance of SimCode: time 3.7e-07/0.005664, allocations: 0 / 278.8 MB, free: 15.48 MB / 266.7 MB Notification: Performance of Templates: time 0.001857/0.007521, allocations: 0.5914 MB / 279.4 MB, free: 14.9 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 240] 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","",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.722616769839078]