Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 68.08 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 139.9 kB / 24.97 MB, free: 8.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.036/1.036, allocations: 173.3 MB / 201.5 MB, free: 9.328 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 268.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.631e-05/2.828e-05, allocations: 2.312 kB / 268.1 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002597/0.002626, allocations: 1.51 MB / 269.6 MB, free: 5.191 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002153/0.002841, allocations: 39.84 kB / 269.6 MB, free: 5.152 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.045e-05/0.002911, allocations: 0 / 269.6 MB, free: 5.152 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.943e-05/0.002941, allocations: 3.938 kB / 269.6 MB, free: 5.148 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.145e-05/0.002992, allocations: 4 kB / 269.6 MB, free: 5.145 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.003273, allocations: 31.83 kB / 269.7 MB, free: 5.113 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.003374, allocations: 39.86 kB / 269.7 MB, free: 5.074 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.003475, allocations: 8 kB / 269.7 MB, free: 5.066 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.624e-05/0.003551, allocations: 19.97 kB / 269.7 MB, free: 5.047 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.487e-05/0.003596, allocations: 23.91 kB / 269.8 MB, free: 5.023 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.003623, allocations: 4 kB / 269.8 MB, free: 5.02 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.066e-05/0.003633, allocations: 4 kB / 269.8 MB, free: 5.016 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.097e-05/0.003654, allocations: 4 kB / 269.8 MB, free: 5.012 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.704e-05/0.003691, allocations: 11.98 kB / 269.8 MB, free: 5 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.003799, allocations: 31.89 kB / 269.8 MB, free: 4.969 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.003801, allocations: 0 / 269.8 MB, free: 4.969 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.003802, allocations: 0 / 269.8 MB, free: 4.969 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.003806, allocations: 0 / 269.8 MB, free: 4.969 MB / 250.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.0004425/0.004248, allocations: 372.6 kB / 270.2 MB, free: 4.566 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.004297, allocations: 16.92 kB / 270.2 MB, free: 4.551 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.577e-05/0.004342, allocations: 4.891 kB / 270.2 MB, free: 4.547 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.004524, allocations: 128.5 kB / 270.3 MB, free: 4.395 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.00455, allocations: 8.312 kB / 270.3 MB, free: 4.387 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.004561, allocations: 384 / 270.3 MB, free: 4.387 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002915/0.004853, allocations: 122.2 kB / 270.4 MB, free: 4.25 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.00486, allocations: 192 / 270.4 MB, free: 4.25 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.00487, allocations: 384 / 270.4 MB, free: 4.25 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.004879, allocations: 4.375 kB / 270.5 MB, free: 4.246 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.201e-05/0.004921, allocations: 11.88 kB / 270.5 MB, free: 4.234 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001276/0.005049, allocations: 120.6 kB / 270.6 MB, free: 4.082 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.579e-05/0.005145, allocations: 47.08 kB / 270.6 MB, free: 4.023 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.161e-05/0.005186, allocations: 15.72 kB / 270.6 MB, free: 4.004 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.005197, allocations: 4 kB / 270.6 MB, free: 4 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.005221, allocations: 37.39 kB / 270.7 MB, free: 3.953 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.005222, allocations: 0 / 270.7 MB, free: 3.953 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001811/0.005403, allocations: 53.62 kB / 270.7 MB, free: 3.895 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/0.005455, allocations: 55.59 kB / 270.8 MB, free: 3.828 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.572e-05/0.005551, allocations: 173.9 kB / 271 MB, free: 3.641 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.005563, allocations: 25.7 kB / 271 MB, free: 3.609 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.974e-05/0.005613, allocations: 130.9 kB / 271.1 MB, free: 3.477 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.232e-05/0.005625, allocations: 3.984 kB / 271.1 MB, free: 3.473 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/0.005653, allocations: 19.38 kB / 271.1 MB, free: 3.445 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.005802, allocations: 496.1 kB / 271.6 MB, free: 2.949 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.277e-06/0.005811, allocations: 4 kB / 271.6 MB, free: 2.945 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.042e-06/0.005817, allocations: 0 / 271.6 MB, free: 2.945 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.522e-05/0.005843, allocations: 11.69 kB / 271.6 MB, free: 2.93 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.005845, allocations: 0 / 271.6 MB, free: 2.93 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.76e-05/0.005902, allocations: 49.64 kB / 271.7 MB, free: 2.875 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.005916, allocations: 8 kB / 271.7 MB, free: 2.867 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.005925, allocations: 0 / 271.7 MB, free: 2.867 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.005941, allocations: 3.984 kB / 271.7 MB, free: 2.863 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.039e-05/0.005992, allocations: 11.94 kB / 271.7 MB, free: 2.852 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.005996, allocations: 0 / 271.7 MB, free: 2.852 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.008e-05/0.006006, allocations: 3.938 kB / 271.7 MB, free: 2.848 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-06/0.006009, allocations: 0 / 271.7 MB, free: 2.848 MB / 250.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.426e-05/0.006073, allocations: 156.6 kB / 271.9 MB, free: 2.684 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.113e-05/0.006124, allocations: 49.66 kB / 271.9 MB, free: 2.629 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.666e-05/0.006151, allocations: 15.98 kB / 271.9 MB, free: 2.605 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.006153, allocations: 0 / 271.9 MB, free: 2.605 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.006158, allocations: 4 kB / 271.9 MB, free: 2.602 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.006161, allocations: 3.938 kB / 271.9 MB, free: 2.598 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.49e-05/0.006216, allocations: 120.6 kB / 272.1 MB, free: 2.445 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.006217, allocations: 0 / 272.1 MB, free: 2.445 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.528e-05/0.006262, allocations: 8 kB / 272.1 MB, free: 2.438 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.006265, allocations: 3.984 kB / 272.1 MB, free: 2.434 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.006273, allocations: 4 kB / 272.1 MB, free: 2.43 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.006273, allocations: 0 / 272.1 MB, free: 2.43 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.006274, allocations: 4 kB / 272.1 MB, free: 2.426 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.212e-05/0.006346, allocations: 88.38 kB / 272.2 MB, free: 2.316 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.218e-06/0.006355, allocations: 11.89 kB / 272.2 MB, free: 2.305 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.006369, allocations: 0 / 272.2 MB, free: 2.305 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.869e-05/0.006387, allocations: 7.984 kB / 272.2 MB, free: 2.297 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-06/0.00639, allocations: 0 / 272.2 MB, free: 2.297 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.006393, allocations: 4 kB / 272.2 MB, free: 2.293 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.904e-05/0.006432, allocations: 131.5 kB / 272.3 MB, free: 2.164 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006432, allocations: 0 / 272.3 MB, free: 2.164 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001157/0.006548, allocations: 4 kB / 272.3 MB, free: 2.16 MB / 250.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.243e-05/0.00662, allocations: 99.19 kB / 272.4 MB, free: 2.055 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.635e-05/0.006697, allocations: 19.69 kB / 272.4 MB, free: 2.031 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.006698, allocations: 4 kB / 272.4 MB, free: 2.027 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.006699, allocations: 0 / 272.4 MB, free: 2.027 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.0069, allocations: 25.59 kB / 272.5 MB, free: 2 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002442/0.007145, allocations: 124.8 kB / 272.6 MB, free: 1.852 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.378e-05/0.007178, allocations: 59.34 kB / 272.6 MB, free: 1.773 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.618e-05/0.007195, allocations: 4 kB / 272.6 MB, free: 1.77 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.487e-05/0.00722, allocations: 8.562 kB / 272.7 MB, free: 1.762 MB / 250.7 MB Notification: Performance of SimCode: time 7.81e-07/0.00722, allocations: 4 kB / 272.7 MB, free: 1.758 MB / 250.7 MB Notification: Performance of Templates: time 0.002023/0.009243, allocations: 0.5681 MB / 273.2 MB, free: 1.203 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.7734515368938446]