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.0008122/0.0008122, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009332/0.0009332, allocations: 165.4 kB / 24.56 MB, free: 16 kB / 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.9761/0.9761, allocations: 177.2 MB / 205 MB, free: 5.293 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 2.384e-06/2.384e-06, allocations: 0 / 273 MB, free: 1.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.007e-05/3.245e-05, allocations: 2.312 kB / 273 MB, free: 1.387 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002801/0.002834, allocations: 1.529 MB / 274.5 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002343/0.003068, allocations: 35.84 kB / 274.6 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.765e-05/0.003136, allocations: 0 / 274.6 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.594e-05/0.003172, allocations: 3.938 kB / 274.6 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.42e-05/0.003226, allocations: 3.938 kB / 274.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.003532, allocations: 31.91 kB / 274.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.737e-05/0.00363, allocations: 39.91 kB / 274.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.003745, allocations: 8 kB / 274.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.94e-05/0.003825, allocations: 23.97 kB / 274.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.029e-05/0.003865, allocations: 15.92 kB / 274.7 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.845e-05/0.003893, allocations: 4 kB / 274.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.01e-05/0.003904, allocations: 7.938 kB / 274.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.302e-05/0.003927, allocations: 7.984 kB / 274.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.771e-05/0.003964, allocations: 7.938 kB / 274.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.004076, allocations: 31.95 kB / 274.7 MB, free: 15.63 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.00408, allocations: 0 / 274.7 MB, free: 15.63 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.004081, allocations: 4 kB / 274.7 MB, free: 15.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.004087, allocations: 0 / 274.7 MB, free: 15.62 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.0005227/0.00461, allocations: 372.5 kB / 275.1 MB, free: 15.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.004656, allocations: 12.02 kB / 275.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.282e-05/0.004709, allocations: 12.89 kB / 275.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.004897, allocations: 124.5 kB / 275.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.004921, allocations: 8.375 kB / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.004931, allocations: 384 / 275.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/0.005219, allocations: 126.1 kB / 275.4 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.005228, allocations: 192 / 275.4 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.00524, allocations: 4.375 kB / 275.4 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.005248, allocations: 384 / 275.4 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.149e-05/0.00529, allocations: 7.938 kB / 275.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001116/0.005401, allocations: 116.6 kB / 275.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.258e-05/0.005484, allocations: 46.98 kB / 275.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.631e-05/0.00552, allocations: 19.72 kB / 275.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-06/0.005528, allocations: 48 / 275.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.005551, allocations: 41.38 kB / 275.6 MB, free: 14.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.005552, allocations: 4 kB / 275.6 MB, free: 14.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001598/0.005712, allocations: 53.62 kB / 275.7 MB, free: 14.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.005761, allocations: 55.41 kB / 275.7 MB, free: 14.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.621e-05/0.005838, allocations: 169.9 kB / 275.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.005848, allocations: 29.7 kB / 275.9 MB, free: 14.26 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.824e-05/0.005886, allocations: 126.9 kB / 276 MB, free: 14.13 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.264e-05/0.005899, allocations: 3.953 kB / 276 MB, free: 14.13 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.005928, allocations: 27.36 kB / 276.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.006044, allocations: 492.1 kB / 276.6 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.253e-05/0.006057, allocations: 4 kB / 276.6 MB, free: 13.6 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.892e-06/0.006063, allocations: 7.938 kB / 276.6 MB, free: 13.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.572e-05/0.006088, allocations: 11.69 kB / 276.6 MB, free: 13.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.00609, allocations: 0 / 276.6 MB, free: 13.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.955e-05/0.00615, allocations: 45.62 kB / 276.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.006166, allocations: 6.5 kB / 276.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.006173, allocations: 4 kB / 276.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.006187, allocations: 4.188 kB / 276.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.617e-05/0.006243, allocations: 0 / 276.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.00625, allocations: 4 kB / 276.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.088e-05/0.006261, allocations: 8.031 kB / 276.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.006266, allocations: 3.984 kB / 276.7 MB, free: 13.5 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.772e-05/0.006334, allocations: 152.6 kB / 276.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.844e-05/0.006392, allocations: 53.64 kB / 276.9 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.471e-05/0.006417, allocations: 8 kB / 276.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.006421, allocations: 3.984 kB / 276.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.006425, allocations: 0 / 276.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.006429, allocations: 7.875 kB / 276.9 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.964e-05/0.006489, allocations: 116.6 kB / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.006491, allocations: 4 kB / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.103e-05/0.006542, allocations: 12 kB / 277 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.006543, allocations: 0 / 277 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.006552, allocations: 3.984 kB / 277 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.006553, allocations: 0 / 277 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.006555, allocations: 0 / 277 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.099e-05/0.006636, allocations: 88.38 kB / 277.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.042e-05/0.006646, allocations: 7.953 kB / 277.1 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.006661, allocations: 4 kB / 277.1 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.88e-05/0.00668, allocations: 7.984 kB / 277.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-06/0.006683, allocations: 0 / 277.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.006686, allocations: 0 / 277.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.849e-05/0.006725, allocations: 127.2 kB / 277.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006725, allocations: 0 / 277.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001122/0.006837, allocations: 15.88 kB / 277.2 MB, free: 12.82 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 9.398e-05/0.006931, allocations: 103.2 kB / 277.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.725e-05/0.007018, allocations: 15.69 kB / 277.4 MB, free: 12.69 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.00702, allocations: 0 / 277.4 MB, free: 12.69 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.007021, allocations: 4 kB / 277.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.007238, allocations: 21.42 kB / 277.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000266/0.007504, allocations: 132.8 kB / 277.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.443e-05/0.007538, allocations: 59.34 kB / 277.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.789e-05/0.007556, allocations: 256 / 277.6 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.864e-05/0.007585, allocations: 12.5 kB / 277.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of SimCode: time 1.062e-06/0.007586, allocations: 0 / 277.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of Templates: time 0.002228/0.009814, allocations: 0.5811 MB / 278.2 MB, free: 11.84 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.5793190519325435]