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.00153/0.00153, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.002258/0.002258, allocations: 162.4 kB / 24.91 MB, free: 8.734 MB / 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.078/1.078, allocations: 177 MB / 205.2 MB, free: 5.441 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 1.883e-06/1.883e-06, allocations: 0 / 273.4 MB, free: 1.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.03e-05/3.218e-05, allocations: 2.312 kB / 273.4 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002074/0.002106, allocations: 1.52 MB / 274.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001908/0.002297, allocations: 39.78 kB / 274.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.374e-05/0.002361, allocations: 3.938 kB / 274.9 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.498e-05/0.002386, allocations: 3.938 kB / 275 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.723e-05/0.002433, allocations: 3.938 kB / 275 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.002665, allocations: 23.97 kB / 275 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.706e-05/0.002742, allocations: 39.91 kB / 275 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.46e-05/0.002816, allocations: 8 kB / 275 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.754e-05/0.002884, allocations: 31.91 kB / 275.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.272e-05/0.002916, allocations: 11.97 kB / 275.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.002939, allocations: 4 kB / 275.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.013e-05/0.002949, allocations: 4 kB / 275.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.086e-05/0.00297, allocations: 7.938 kB / 275.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.324e-05/0.002993, allocations: 11.98 kB / 275.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.845e-05/0.003081, allocations: 27.84 kB / 275.1 MB, free: 15.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.003087, allocations: 7.984 kB / 275.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.003088, allocations: 0 / 275.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.056e-06/0.003091, allocations: 4 kB / 275.1 MB, free: 15.45 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.0003062/0.003397, allocations: 252.9 kB / 275.4 MB, free: 15.17 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.003432, allocations: 11.98 kB / 275.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.611e-05/0.003458, allocations: 4.938 kB / 275.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.003575, allocations: 125.7 kB / 275.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.003591, allocations: 4.375 kB / 275.5 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-06/0.0036, allocations: 384 / 275.5 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.003803, allocations: 116.5 kB / 275.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.541e-06/0.003809, allocations: 192 / 275.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.511e-06/0.003814, allocations: 4.375 kB / 275.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.003818, allocations: 384 / 275.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.11e-05/0.003839, allocations: 11.92 kB / 275.7 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.603e-05/0.003895, allocations: 57.05 kB / 275.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.688e-05/0.003952, allocations: 34.5 kB / 275.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.217e-05/0.003974, allocations: 8.859 kB / 275.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.003982, allocations: 7.984 kB / 275.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.004001, allocations: 38.5 kB / 275.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 5.51e-07/0.004001, allocations: 0 / 275.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 8.537e-05/0.004087, allocations: 41.69 kB / 275.8 MB, free: 14.63 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.004126, allocations: 63.34 kB / 275.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.853e-05/0.004175, allocations: 110.7 kB / 276 MB, free: 14.44 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.004184, allocations: 29.7 kB / 276 MB, free: 14.4 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.886e-05/0.004203, allocations: 88.12 kB / 276.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.884e-06/0.004211, allocations: 3.953 kB / 276.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.905e-05/0.00423, allocations: 9.719 kB / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.962e-05/0.004299, allocations: 322.8 kB / 276.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.21e-06/0.004304, allocations: 0 / 276.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.579e-06/0.004309, allocations: 4 kB / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.496e-05/0.004324, allocations: 4.859 kB / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.004326, allocations: 4.062 kB / 276.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.018e-05/0.004356, allocations: 37.69 kB / 276.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.004368, allocations: 14.75 kB / 276.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.004371, allocations: 0 / 276.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.826e-06/0.00438, allocations: 0 / 276.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.516e-05/0.004415, allocations: 0 / 276.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-06/0.004418, allocations: 4.312 kB / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.125e-06/0.004426, allocations: 0 / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-06/0.004429, allocations: 4 kB / 276.5 MB, free: 13.89 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 5.23e-05/0.004481, allocations: 121.8 kB / 276.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.869e-05/0.00451, allocations: 41.69 kB / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.956e-05/0.004529, allocations: 8.219 kB / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.004531, allocations: 0 / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.004533, allocations: 4 kB / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.004537, allocations: 3.984 kB / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.159e-05/0.004578, allocations: 69.84 kB / 276.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.004579, allocations: 0 / 276.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.726e-05/0.004616, allocations: 19.86 kB / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.72e-07/0.004617, allocations: 0 / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.298e-06/0.004621, allocations: 0 / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.004622, allocations: 7.984 kB / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.3e-07/0.004622, allocations: 0 / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 2.958e-05/0.004652, allocations: 53.08 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-06/0.004658, allocations: 4 kB / 276.9 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.849e-06/0.004667, allocations: 0 / 276.9 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.525e-05/0.004683, allocations: 7.984 kB / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.585e-06/0.004685, allocations: 0 / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-06/0.004687, allocations: 0 / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.218e-05/0.0047, allocations: 20.84 kB / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0047, allocations: 0 / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 8.625e-05/0.004786, allocations: 4 kB / 276.9 MB, free: 13.48 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 7.09e-05/0.004857, allocations: 84.39 kB / 277 MB, free: 13.38 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.09e-05/0.004908, allocations: 16.8 kB / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.004909, allocations: 0 / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.00491, allocations: 4 kB / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001211/0.005031, allocations: 29.3 kB / 277 MB, free: 13.33 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000184/0.005215, allocations: 123.1 kB / 277.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.562e-05/0.005241, allocations: 59.34 kB / 277.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.08e-05/0.005251, allocations: 0 / 277.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.938e-05/0.005291, allocations: 59.44 kB / 277.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.005291, allocations: 0 / 277.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of Templates: time 0.001698/0.006989, allocations: 0.5958 MB / 277.8 MB, free: 12.46 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.7963165850378573]