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.0009356/0.0009356, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0009893/0.0009893, allocations: 170.9 kB / 24.91 MB, free: 8.77 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.007/1.007, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.312e-06/1.312e-06, allocations: 0 / 273.5 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.806e-05/1.938e-05, allocations: 2.312 kB / 273.5 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002169/0.002188, allocations: 1.569 MB / 275.1 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001942/0.002382, allocations: 35.84 kB / 275.1 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.998e-05/0.002452, allocations: 0 / 275.1 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.312e-05/0.002485, allocations: 7.938 kB / 275.1 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.966e-05/0.002535, allocations: 0 / 275.1 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.002789, allocations: 31.89 kB / 275.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.962e-05/0.002869, allocations: 39.86 kB / 275.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.832e-05/0.002947, allocations: 15.97 kB / 275.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.061e-05/0.003018, allocations: 23.92 kB / 275.2 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.448e-05/0.003052, allocations: 11.98 kB / 275.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.003071, allocations: 4 kB / 275.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.927e-06/0.00308, allocations: 7.938 kB / 275.2 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.044e-05/0.0031, allocations: 4 kB / 275.2 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.464e-05/0.003125, allocations: 19.97 kB / 275.3 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.771e-05/0.003213, allocations: 23.91 kB / 275.3 MB, free: 15.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.003216, allocations: 4 kB / 275.3 MB, free: 15.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.003217, allocations: 0 / 275.3 MB, free: 15.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.003222, allocations: 0 / 275.3 MB, free: 15.44 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.0003028/0.003524, allocations: 248.9 kB / 275.5 MB, free: 15.17 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.003558, allocations: 8.031 kB / 275.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002196/0.003778, allocations: 8.938 kB / 275.5 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.003907, allocations: 125.7 kB / 275.7 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.003924, allocations: 4.375 kB / 275.7 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.003933, allocations: 8.375 kB / 275.7 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.004105, allocations: 112.5 kB / 275.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.671e-06/0.00411, allocations: 4.125 kB / 275.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-06/0.004117, allocations: 384 / 275.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.004122, allocations: 384 / 275.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.253e-05/0.004144, allocations: 7.938 kB / 275.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.326e-05/0.004218, allocations: 64.97 kB / 275.9 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.106e-05/0.004279, allocations: 34.56 kB / 275.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.069e-05/0.004299, allocations: 16.84 kB / 275.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.424e-06/0.004307, allocations: 4 kB / 275.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.004325, allocations: 30.56 kB / 276 MB, free: 14.67 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 6.72e-07/0.004326, allocations: 0 / 276 MB, free: 14.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 9.919e-05/0.004425, allocations: 49.62 kB / 276 MB, free: 14.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.004468, allocations: 55.41 kB / 276.1 MB, free: 14.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.315e-05/0.004521, allocations: 110.7 kB / 276.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.136e-06/0.004529, allocations: 25.7 kB / 276.2 MB, free: 14.4 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.114e-05/0.00455, allocations: 84.14 kB / 276.3 MB, free: 14.31 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.412e-05/0.004564, allocations: 7.938 kB / 276.3 MB, free: 14.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.971e-05/0.004584, allocations: 13.72 kB / 276.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.41e-05/0.004658, allocations: 322.8 kB / 276.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.61e-06/0.004664, allocations: 0 / 276.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.243e-06/0.004671, allocations: 4 kB / 276.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.768e-05/0.004688, allocations: 4.859 kB / 276.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.004691, allocations: 4 kB / 276.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.125e-05/0.004732, allocations: 37.62 kB / 276.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.004744, allocations: 8 kB / 276.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.004749, allocations: 0 / 276.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.004759, allocations: 0 / 276.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.082e-05/0.0048, allocations: 8.094 kB / 276.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.004803, allocations: 0 / 276.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.337e-06/0.004812, allocations: 0 / 276.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-06/0.004816, allocations: 4 kB / 276.7 MB, free: 13.88 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.916e-05/0.004876, allocations: 121.7 kB / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.84e-05/0.004914, allocations: 41.86 kB / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.414e-05/0.004938, allocations: 8 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.004941, allocations: 4 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.004943, allocations: 0 / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.004945, allocations: 3.938 kB / 276.9 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.488e-05/0.00499, allocations: 73.83 kB / 276.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.004991, allocations: 0 / 276.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.122e-05/0.005033, allocations: 11.98 kB / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.005034, allocations: 0 / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.159e-06/0.005039, allocations: 0 / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.005041, allocations: 4 kB / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.005042, allocations: 4 kB / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.139e-05/0.005084, allocations: 53.08 kB / 277 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.156e-06/0.005092, allocations: 7.969 kB / 277 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.005104, allocations: 4 kB / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.337e-05/0.005117, allocations: 4 kB / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-06/0.005121, allocations: 4 kB / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.005127, allocations: 4 kB / 277 MB, free: 13.49 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.566e-05/0.005143, allocations: 12.84 kB / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005143, allocations: 0 / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 9.079e-05/0.005233, allocations: 4 kB / 277 MB, free: 13.47 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.961e-05/0.005313, allocations: 83.03 kB / 277.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.806e-05/0.005371, allocations: 16.84 kB / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.005374, allocations: 0 / 277.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.005374, allocations: 0 / 277.1 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.0001483/0.005522, allocations: 25.98 kB / 277.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002243/0.005747, allocations: 130.6 kB / 277.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.95e-05/0.005776, allocations: 59.34 kB / 277.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.621e-05/0.005792, allocations: 256 / 277.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.347e-05/0.005836, allocations: 55.36 kB / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.005836, allocations: 0 / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of Templates: time 0.002081/0.007918, allocations: 0.6001 MB / 278 MB, free: 12.47 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 -s gbode -gbm=radauIIA3 -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.5732587669044733]