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.001818/0.001818, allocations: 85.25 kB / 20.68 MB, free: 1.023 MB / 14.72 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.002277/0.002277, allocations: 168.8 kB / 23.96 MB, free: 4.148 MB / 14.72 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.496/1.496, allocations: 177.1 MB / 204.3 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] 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.563e-06/1.563e-06, allocations: 0 / 325.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.166e-05/3.322e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.003381/0.003414, allocations: 1.487 MB / 326.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002627/0.003677, allocations: 42.92 kB / 326.6 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.369e-05/0.00375, allocations: 1.344 kB / 326.6 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.914e-05/0.00379, allocations: 4.453 kB / 326.6 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.289e-05/0.003852, allocations: 4.5 kB / 326.6 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003293/0.004182, allocations: 32.77 kB / 326.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.004305, allocations: 37.34 kB / 326.7 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.004423, allocations: 4.516 kB / 326.7 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.563e-05/0.004508, allocations: 20.03 kB / 326.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.208e-05/0.004571, allocations: 20.16 kB / 326.7 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.004596, allocations: 4.594 kB / 326.7 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.381e-05/0.00461, allocations: 2.75 kB / 326.7 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.51e-05/0.004635, allocations: 11.62 kB / 326.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.028e-05/0.004685, allocations: 13.59 kB / 326.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.004834, allocations: 38.55 kB / 326.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.004836, allocations: 1.125 kB / 326.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004837, allocations: 0 / 326.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.004842, allocations: 0 / 326.8 MB, free: 15.39 MB / 302.1 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.0006552/0.005497, allocations: 279.3 kB / 327.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.643e-05/0.005563, allocations: 9.875 kB / 327.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.191e-05/0.005635, allocations: 11.45 kB / 327.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/0.005903, allocations: 129.1 kB / 327.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.531e-05/0.005939, allocations: 5.594 kB / 327.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.005956, allocations: 2.625 kB / 327.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007439/0.0067, allocations: 156.6 kB / 327.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.006715, allocations: 192 / 327.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.006732, allocations: 1.469 kB / 327.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.006739, allocations: 1.031 kB / 327.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003104/0.007049, allocations: 53.14 kB / 327.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001702/0.007219, allocations: 100.8 kB / 327.5 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003878/0.007607, allocations: 90.38 kB / 327.6 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001743/0.007781, allocations: 38.11 kB / 327.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.007801, allocations: 1.703 kB / 327.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/0.007842, allocations: 32.06 kB / 327.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.007843, allocations: 0 / 327.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0006434/0.008486, allocations: 119.2 kB / 327.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.008596, allocations: 58 kB / 327.9 MB, free: 14.54 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.00874, allocations: 109.4 kB / 328 MB, free: 14.44 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.00877, allocations: 26.77 kB / 328 MB, free: 14.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.855e-05/0.008848, allocations: 82.53 kB / 328.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.008873, allocations: 10.58 kB / 328.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-05/0.008934, allocations: 15.5 kB / 328.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.009132, allocations: 318.8 kB / 328.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.514e-05/0.009147, allocations: 0.6562 kB / 328.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.442e-05/0.009162, allocations: 7.266 kB / 328.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.075e-05/0.009192, allocations: 8.453 kB / 328.4 MB, free: 13.97 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.009195, allocations: 0 / 328.4 MB, free: 13.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.562e-05/0.00928, allocations: 44.06 kB / 328.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.009306, allocations: 7.25 kB / 328.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.009313, allocations: 4.094 kB / 328.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.667e-05/0.00934, allocations: 1.359 kB / 328.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.375e-05/0.009414, allocations: 3.625 kB / 328.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.009424, allocations: 4 kB / 328.5 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.982e-05/0.009444, allocations: 3.938 kB / 328.5 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-06/0.009449, allocations: 0 / 328.5 MB, free: 13.92 MB / 302.1 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 0.0001094/0.009558, allocations: 114.3 kB / 328.6 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003324/0.009891, allocations: 91 kB / 328.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.129e-05/0.009922, allocations: 5.781 kB / 328.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.009927, allocations: 1.859 kB / 328.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.009933, allocations: 7.938 kB / 328.7 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.009942, allocations: 9.719 kB / 328.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.01006, allocations: 104.1 kB / 328.8 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.01006, allocations: 1.734 kB / 328.8 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.01017, allocations: 14.48 kB / 328.8 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.01018, allocations: 0 / 328.8 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.01019, allocations: 1.828 kB / 328.8 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.01019, allocations: 0 / 328.8 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.01019, allocations: 1.812 kB / 328.8 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004025/0.0106, allocations: 115.7 kB / 329 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.612e-05/0.01061, allocations: 7.188 kB / 329 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.01063, allocations: 4 kB / 329 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.422e-05/0.0107, allocations: 9.469 kB / 329 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.829e-06/0.01071, allocations: 0.5625 kB / 329 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.01072, allocations: 1.5 kB / 329 MB, free: 13.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.866e-05/0.01079, allocations: 95.77 kB / 329.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01079, allocations: 0 / 329.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001982/0.01098, allocations: 7.406 kB / 329.1 MB, free: 13.43 MB / 302.1 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.000141/0.01112, allocations: 108.9 kB / 329.2 MB, free: 13.33 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002425/0.01137, allocations: 31.09 kB / 329.2 MB, free: 13.33 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.01137, allocations: 4.062 kB / 329.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.01137, allocations: 1 kB / 329.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.01179, allocations: 34.53 kB / 329.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004704/0.01226, allocations: 131 kB / 329.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.546e-05/0.01234, allocations: 65.45 kB / 329.5 MB, free: 13.13 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.461e-05/0.01237, allocations: 1.953 kB / 329.5 MB, free: 13.13 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.807e-05/0.01241, allocations: 10.88 kB / 329.5 MB, free: 13.12 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.01241, allocations: 0 / 329.5 MB, free: 13.12 MB / 302.1 MB Notification: Performance of Templates: time 0.003891/0.0163, allocations: 0.5443 MB / 330 MB, free: 13.04 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.369215775281191]