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.0009278/0.0009278, 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.001083/0.001083, allocations: 171.5 kB / 24.91 MB, free: 8.766 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 0.9793/0.9793, allocations: 177.1 MB / 205.3 MB, free: 5.105 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.874e-06/1.874e-06, allocations: 3.938 kB / 273.5 MB, free: 1.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.355e-05/2.543e-05, allocations: 6.312 kB / 273.5 MB, free: 1.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002751/0.002777, allocations: 1.514 MB / 275 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002069/0.002983, allocations: 43.83 kB / 275 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.333e-05/0.003047, allocations: 0 / 275 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.94e-05/0.003076, allocations: 11.92 kB / 275 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.998e-05/0.003126, allocations: 7.875 kB / 275 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.003367, allocations: 23.92 kB / 275.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.072e-05/0.003458, allocations: 39.91 kB / 275.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.304e-05/0.003541, allocations: 7.984 kB / 275.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.961e-05/0.003641, allocations: 23.92 kB / 275.1 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.183e-05/0.003682, allocations: 11.98 kB / 275.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.13e-05/0.003714, allocations: 4 kB / 275.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.677e-06/0.003722, allocations: 4 kB / 275.2 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.836e-05/0.003751, allocations: 15.91 kB / 275.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.946e-05/0.00378, allocations: 8 kB / 275.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.003881, allocations: 35.89 kB / 275.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.003883, allocations: 0 / 275.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.003885, allocations: 0 / 275.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.397e-06/0.003889, allocations: 0 / 275.2 MB, free: 15.41 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.0002684/0.004157, allocations: 248.9 kB / 275.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.004191, allocations: 12.03 kB / 275.5 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.465e-05/0.004216, allocations: 4.922 kB / 275.5 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.004346, allocations: 133.6 kB / 275.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.004362, allocations: 384 / 275.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.004372, allocations: 4.375 kB / 275.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.004539, allocations: 108.5 kB / 275.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.621e-06/0.004544, allocations: 192 / 275.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.601e-06/0.00455, allocations: 4.312 kB / 275.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.004554, allocations: 384 / 275.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.03e-05/0.004575, allocations: 7.938 kB / 275.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.565e-05/0.00463, allocations: 65.03 kB / 275.8 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.61e-05/0.004686, allocations: 34.55 kB / 275.8 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.79e-05/0.004714, allocations: 16.84 kB / 275.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.793e-06/0.004721, allocations: 4 kB / 275.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.004738, allocations: 30.56 kB / 275.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.004739, allocations: 3.938 kB / 275.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 9.568e-05/0.004834, allocations: 49.62 kB / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.004876, allocations: 59.39 kB / 276 MB, free: 14.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.844e-05/0.004924, allocations: 106.7 kB / 276.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.004933, allocations: 25.7 kB / 276.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.928e-05/0.004953, allocations: 88.12 kB / 276.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.067e-06/0.004962, allocations: 3.953 kB / 276.2 MB, free: 14.28 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.129e-05/0.004983, allocations: 17.7 kB / 276.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.612e-05/0.005069, allocations: 318.8 kB / 276.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.047e-06/0.005073, allocations: 0 / 276.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.939e-06/0.005078, allocations: 4 kB / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.997e-05/0.005098, allocations: 20.78 kB / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.0051, allocations: 0 / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.791e-05/0.005138, allocations: 29.7 kB / 276.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/0.005148, allocations: 8 kB / 276.6 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.005152, allocations: 0 / 276.6 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.005161, allocations: 0 / 276.6 MB, free: 13.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.786e-05/0.005198, allocations: 4.094 kB / 276.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.005202, allocations: 7.984 kB / 276.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.587e-06/0.005211, allocations: 0 / 276.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.915e-06/0.005213, allocations: 0 / 276.6 MB, free: 13.86 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.49e-05/0.005268, allocations: 113.8 kB / 276.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.005304, allocations: 41.62 kB / 276.8 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.982e-05/0.005324, allocations: 8 kB / 276.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.005325, allocations: 4 kB / 276.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.562e-06/0.005327, allocations: 0 / 276.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.00533, allocations: 0 / 276.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.695e-05/0.005377, allocations: 73.81 kB / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.005378, allocations: 4 kB / 276.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-05/0.005421, allocations: 11.98 kB / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.005423, allocations: 7.938 kB / 276.9 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-06/0.005428, allocations: 0 / 276.9 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.005429, allocations: 0 / 276.9 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.005429, allocations: 4 kB / 276.9 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.264e-05/0.005472, allocations: 61.02 kB / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.562e-06/0.005478, allocations: 3.984 kB / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.005489, allocations: 0 / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.493e-05/0.005504, allocations: 4 kB / 276.9 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.685e-06/0.005507, allocations: 0 / 276.9 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.005511, allocations: 8 kB / 276.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.488e-05/0.005526, allocations: 12.84 kB / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005526, allocations: 0 / 277 MB, free: 13.45 MB / 266.7 MB Notification: Performance of remove unused functions: time 9.572e-05/0.005621, allocations: 4 kB / 277 MB, free: 13.45 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.429e-05/0.005696, allocations: 80.42 kB / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.119e-05/0.005747, allocations: 16.84 kB / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.005749, allocations: 0 / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.00575, allocations: 0 / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/0.005873, allocations: 25.38 kB / 277.1 MB, free: 13.31 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002043/0.006077, allocations: 127.5 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.741e-05/0.006105, allocations: 59.34 kB / 277.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.584e-05/0.006121, allocations: 256 / 277.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.474e-05/0.006165, allocations: 59.36 kB / 277.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of SimCode: time 7.22e-07/0.006166, allocations: 0 / 277.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of Templates: time 0.001945/0.008112, allocations: 0.5885 MB / 277.9 MB, free: 12.45 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 -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.5345873720943928]