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.001461/0.001461, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001946/0.001946, allocations: 163 kB / 24.99 MB, free: 9.324 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.153/1.153, allocations: 177 MB / 205.2 MB, free: 5.57 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.684e-06/1.684e-06, allocations: 0 / 273 MB, free: 1.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.823e-05/2.992e-05, allocations: 2.312 kB / 273 MB, free: 1.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002252/0.002282, allocations: 1.517 MB / 274.5 MB, free: 196 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002698/0.002552, allocations: 39.78 kB / 274.6 MB, free: 156 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.763e-05/0.002619, allocations: 0 / 274.6 MB, free: 156 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.63e-05/0.002645, allocations: 3.938 kB / 274.6 MB, free: 152 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.523e-05/0.002691, allocations: 3.938 kB / 274.6 MB, free: 148 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.002965, allocations: 27.95 kB / 274.6 MB, free: 120 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.003084, allocations: 39.86 kB / 274.6 MB, free: 80 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.003198, allocations: 8 kB / 274.7 MB, free: 72 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.449e-05/0.003272, allocations: 23.97 kB / 274.7 MB, free: 48 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.51e-05/0.003307, allocations: 11.97 kB / 274.7 MB, free: 36 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.003331, allocations: 8 kB / 274.7 MB, free: 28 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.158e-05/0.003342, allocations: 4 kB / 274.7 MB, free: 24 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.331e-05/0.003365, allocations: 7.938 kB / 274.7 MB, free: 16 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.744e-05/0.003403, allocations: 11.98 kB / 274.7 MB, free: 4 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.003524, allocations: 27.91 kB / 274.7 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.003526, allocations: 0 / 274.7 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.003528, allocations: 4 kB / 274.7 MB, free: 15.97 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.003532, allocations: 0 / 274.7 MB, free: 15.97 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.0004111/0.003943, allocations: 372.6 kB / 275.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.003986, allocations: 11.98 kB / 275.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.492e-05/0.004031, allocations: 12.89 kB / 275.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.004213, allocations: 132.4 kB / 275.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.004237, allocations: 384 / 275.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.004251, allocations: 8.375 kB / 275.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002697/0.00452, allocations: 122.1 kB / 275.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.004527, allocations: 192 / 275.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.004539, allocations: 4.375 kB / 275.4 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.004549, allocations: 8.359 kB / 275.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.635e-05/0.004586, allocations: 15.88 kB / 275.4 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001002/0.004686, allocations: 116.6 kB / 275.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.879e-05/0.004765, allocations: 43.05 kB / 275.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.709e-05/0.004802, allocations: 19.75 kB / 275.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-06/0.00481, allocations: 0 / 275.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.004834, allocations: 45.33 kB / 275.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.004835, allocations: 0 / 275.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001619/0.004997, allocations: 49.69 kB / 275.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.005048, allocations: 55.41 kB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.118e-05/0.005129, allocations: 169.9 kB / 275.9 MB, free: 14.63 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.00514, allocations: 29.7 kB / 275.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.881e-05/0.005179, allocations: 130.9 kB / 276.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.239e-05/0.005192, allocations: 3.953 kB / 276.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.005218, allocations: 23.36 kB / 276.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.005338, allocations: 496.1 kB / 276.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.155e-05/0.005349, allocations: 4 kB / 276.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.803e-06/0.005356, allocations: 3.938 kB / 276.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.648e-05/0.005382, allocations: 11.69 kB / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.005384, allocations: 0 / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.797e-05/0.005432, allocations: 45.75 kB / 276.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.005447, allocations: 4 kB / 276.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.005451, allocations: 0 / 276.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.005465, allocations: 4 kB / 276.6 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.968e-05/0.005515, allocations: 0 / 276.6 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.00552, allocations: 320 / 276.6 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.095e-05/0.005531, allocations: 7.938 kB / 276.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.005535, allocations: 0 / 276.7 MB, free: 13.84 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 6.727e-05/0.005602, allocations: 156.5 kB / 276.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.65e-05/0.005658, allocations: 53.64 kB / 276.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.803e-05/0.005686, allocations: 11.98 kB / 276.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.005688, allocations: 7.969 kB / 276.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.005691, allocations: 0 / 276.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.005695, allocations: 3.938 kB / 276.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.817e-05/0.005753, allocations: 116.6 kB / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.005755, allocations: 0 / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.374e-05/0.005808, allocations: 8 kB / 277 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.005813, allocations: 4 kB / 277 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.005821, allocations: 3.984 kB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.005822, allocations: 0 / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.005824, allocations: 3.984 kB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.26e-05/0.005907, allocations: 100.5 kB / 277.1 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.017e-05/0.005917, allocations: 3.953 kB / 277.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.005934, allocations: 8 kB / 277.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.191e-05/0.005956, allocations: 11.98 kB / 277.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.216e-06/0.00596, allocations: 0 / 277.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.005963, allocations: 0 / 277.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.169e-05/0.006004, allocations: 123.2 kB / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006004, allocations: 0 / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001224/0.006127, allocations: 4 kB / 277.3 MB, free: 13.16 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 0.0001018/0.006229, allocations: 107.2 kB / 277.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.518e-05/0.006314, allocations: 23.62 kB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.006316, allocations: 0 / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.006316, allocations: 0 / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.006535, allocations: 21.42 kB / 277.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002789/0.006814, allocations: 132.8 kB / 277.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.484e-05/0.006849, allocations: 59.34 kB / 277.6 MB, free: 12.76 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.764e-05/0.006867, allocations: 0 / 277.6 MB, free: 12.76 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.92e-05/0.006896, allocations: 8.5 kB / 277.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of SimCode: time 7.52e-07/0.006896, allocations: 4 kB / 277.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of Templates: time 0.002358/0.009254, allocations: 0.5634 MB / 278.2 MB, free: 12.19 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: 3.024933703010902]