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.0007902/0.0007902, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001199/0.001989, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007462/0.0007462, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009691/0.001715, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.007/1.007, allocations: 177.5 MB / 190 MB, free: 4.785 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08181/1.089, allocations: 53.87 MB / 243.9 MB, free: 14.85 MB / 250.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.052e-06/1.052e-06, allocations: 0 / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.686e-06/9.738e-06, allocations: 2.312 kB / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.00156/0.001569, allocations: 1.575 MB / 246.8 MB, free: 11.97 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 7.553e-05/0.001645, allocations: 39.84 kB / 246.8 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.919e-05/0.001684, allocations: 3.938 kB / 246.8 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.679e-05/0.001701, allocations: 0 / 246.8 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 1.936e-05/0.00172, allocations: 7.938 kB / 246.8 MB, free: 11.92 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000109/0.001829, allocations: 23.91 kB / 246.9 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.244e-05/0.001902, allocations: 35.92 kB / 246.9 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.215e-05/0.001964, allocations: 7.984 kB / 246.9 MB, free: 11.85 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.947e-05/0.002033, allocations: 27.92 kB / 246.9 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.212e-05/0.002065, allocations: 15.97 kB / 246.9 MB, free: 11.81 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.002085, allocations: 4 kB / 246.9 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.277e-06/0.002094, allocations: 8 kB / 247 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/0.002111, allocations: 7.938 kB / 247 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.201e-05/0.002133, allocations: 11.98 kB / 247 MB, free: 11.78 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.53e-05/0.002208, allocations: 31.8 kB / 247 MB, free: 11.75 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.002217, allocations: 0 / 247 MB, free: 11.75 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.002218, allocations: 4 kB / 247 MB, free: 11.74 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.894e-06/0.002226, allocations: 0 / 247 MB, free: 11.74 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.000286/0.002512, allocations: 252.6 kB / 247.3 MB, free: 11.47 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.601e-05/0.002538, allocations: 8.625 kB / 247.3 MB, free: 11.46 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.618e-05/0.002564, allocations: 8.922 kB / 247.3 MB, free: 11.45 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.002686, allocations: 125.7 kB / 247.4 MB, free: 11.3 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.002701, allocations: 384 / 247.4 MB, free: 11.3 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.002711, allocations: 4.375 kB / 247.4 MB, free: 11.3 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.002874, allocations: 112.5 kB / 247.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.301e-06/0.00288, allocations: 192 / 247.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.7e-06/0.002886, allocations: 384 / 247.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.002891, allocations: 4.375 kB / 247.5 MB, free: 11.17 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.992e-05/0.00291, allocations: 7.938 kB / 247.5 MB, free: 11.16 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.675e-05/0.002967, allocations: 65.03 kB / 247.6 MB, free: 11.09 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5e-05/0.003017, allocations: 38.44 kB / 247.6 MB, free: 11.04 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.901e-05/0.003036, allocations: 16.84 kB / 247.6 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.801e-06/0.003042, allocations: 0 / 247.6 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.00306, allocations: 34.56 kB / 247.7 MB, free: 10.98 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.12e-07/0.003061, allocations: 0 / 247.7 MB, free: 10.98 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 8.41e-05/0.003145, allocations: 41.69 kB / 247.7 MB, free: 10.93 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.003181, allocations: 63.39 kB / 247.8 MB, free: 10.86 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.801e-05/0.003229, allocations: 110.7 kB / 247.9 MB, free: 10.73 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.737e-06/0.003238, allocations: 25.7 kB / 247.9 MB, free: 10.7 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.86e-05/0.003256, allocations: 92.05 kB / 248 MB, free: 10.61 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.979e-06/0.003266, allocations: 7.953 kB / 248 MB, free: 10.6 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.712e-05/0.003284, allocations: 13.72 kB / 248 MB, free: 10.58 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.227e-05/0.003346, allocations: 314.8 kB / 248.3 MB, free: 10.27 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.598e-06/0.00335, allocations: 4 kB / 248.3 MB, free: 10.26 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-06/0.003356, allocations: 4 kB / 248.3 MB, free: 10.26 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.637e-05/0.003372, allocations: 16.84 kB / 248.3 MB, free: 10.24 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.003374, allocations: 0 / 248.3 MB, free: 10.24 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 2.857e-05/0.003402, allocations: 33.7 kB / 248.4 MB, free: 10.2 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.736e-06/0.003411, allocations: 4 kB / 248.4 MB, free: 10.2 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.003414, allocations: 4.094 kB / 248.4 MB, free: 10.19 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.003424, allocations: 0 / 248.4 MB, free: 10.19 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.209e-05/0.003456, allocations: 7.938 kB / 248.4 MB, free: 10.18 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.003459, allocations: 3.984 kB / 248.4 MB, free: 10.18 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.193e-06/0.003467, allocations: 0 / 248.4 MB, free: 10.18 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-06/0.003469, allocations: 4 kB / 248.4 MB, free: 10.18 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 4.676e-05/0.003516, allocations: 113.8 kB / 248.5 MB, free: 10.05 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.088e-05/0.003547, allocations: 41.69 kB / 248.6 MB, free: 10.01 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.672e-05/0.003564, allocations: 8 kB / 248.6 MB, free: 10 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.003565, allocations: 0 / 248.6 MB, free: 10 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.003566, allocations: 4 kB / 248.6 MB, free: 9.996 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.003568, allocations: 0 / 248.6 MB, free: 9.996 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.957e-05/0.003608, allocations: 73.77 kB / 248.6 MB, free: 9.906 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.31e-07/0.003608, allocations: 0 / 248.6 MB, free: 9.906 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.152e-05/0.00365, allocations: 15.98 kB / 248.7 MB, free: 9.891 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.99e-06/0.003655, allocations: 0 / 248.7 MB, free: 9.891 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.22e-07/0.003656, allocations: 0 / 248.7 MB, free: 9.891 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.386e-06/0.003659, allocations: 0 / 248.7 MB, free: 9.891 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.00366, allocations: 7.938 kB / 248.7 MB, free: 9.883 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.00366, allocations: 0 / 248.7 MB, free: 9.883 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.172e-05/0.003692, allocations: 61.78 kB / 248.7 MB, free: 9.805 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.003705, allocations: 4 kB / 248.7 MB, free: 9.801 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.504e-05/0.00372, allocations: 4 kB / 248.7 MB, free: 9.797 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-06/0.003722, allocations: 0 / 248.7 MB, free: 9.797 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.003726, allocations: 3.984 kB / 248.7 MB, free: 9.793 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.1e-05/0.003737, allocations: 12.86 kB / 248.7 MB, free: 9.777 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003737, allocations: 0 / 248.7 MB, free: 9.777 MB / 250.7 MB Notification: Performance of remove unused functions: time 8.344e-05/0.00382, allocations: 4 kB / 248.8 MB, free: 9.773 MB / 250.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 5.612e-05/0.003876, allocations: 80.41 kB / 248.8 MB, free: 9.684 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 4.966e-05/0.003926, allocations: 24.78 kB / 248.9 MB, free: 9.656 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.003929, allocations: 4 kB / 248.9 MB, free: 9.652 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.00393, allocations: 0 / 248.9 MB, free: 9.652 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.004064, allocations: 89.08 kB / 248.9 MB, free: 9.551 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002828/0.004347, allocations: 126.9 kB / 249.1 MB, free: 9.402 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.788e-05/0.004375, allocations: 67.34 kB / 249.1 MB, free: 9.316 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.075e-05/0.004385, allocations: 4.031 kB / 249.1 MB, free: 9.312 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.33e-05/0.004429, allocations: 55.36 kB / 249.2 MB, free: 9.258 MB / 250.7 MB Notification: Performance of SimCode: time 3.71e-07/0.004429, allocations: 0 / 249.2 MB, free: 9.258 MB / 250.7 MB Notification: Performance of Templates: time 0.001701/0.00613, allocations: 0.6131 MB / 249.8 MB, free: 8.66 MB / 250.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5109833255410194]