Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001323/0.001323, allocations: 112.9 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001356/0.001356, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.457/1.457, allocations: 230.4 MB / 255.4 MB, free: 15.02 MB / 206.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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 71.83 kB / 374.7 MB, free: 9.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1103, allocations: 53.31 MB / 428.1 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002809/0.1132, allocations: 1.482 MB / 429.5 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001991/0.1134, allocations: 35.84 kB / 429.6 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.626e-05/0.1134, allocations: 0 / 429.6 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.091e-05/0.1134, allocations: 7.922 kB / 429.6 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.893e-05/0.1135, allocations: 7.938 kB / 429.6 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.1138, allocations: 19.98 kB / 429.6 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.1139, allocations: 39.91 kB / 429.7 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.114, allocations: 15.98 kB / 429.7 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.83e-05/0.114, allocations: 15.92 kB / 429.7 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.047e-05/0.1141, allocations: 19.92 kB / 429.7 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.1141, allocations: 0 / 429.7 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.468e-06/0.1141, allocations: 4 kB / 429.7 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.353e-05/0.1141, allocations: 8 kB / 429.7 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.457e-05/0.1142, allocations: 23.86 kB / 429.7 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.1143, allocations: 39.81 kB / 429.8 MB, free: 2.637 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1143, allocations: 0 / 429.8 MB, free: 2.637 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1143, allocations: 0 / 429.8 MB, free: 2.637 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.1143, allocations: 4 kB / 429.8 MB, free: 2.633 MB / 350.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.0005566/0.1148, allocations: 358 kB / 430.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.1149, allocations: 8.031 kB / 430.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.1149, allocations: 8.891 kB / 430.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.1151, allocations: 184.2 kB / 430.3 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.1152, allocations: 8.375 kB / 430.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.1152, allocations: 384 / 430.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005883/0.1158, allocations: 167.7 kB / 430.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.1158, allocations: 192 / 430.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.1158, allocations: 3.938 kB / 430.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.1158, allocations: 0 / 430.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002604/0.1161, allocations: 51.94 kB / 430.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001596/0.1162, allocations: 157.7 kB / 430.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000323/0.1166, allocations: 82.5 kB / 430.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.1167, allocations: 36.91 kB / 430.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.1167, allocations: 3.984 kB / 430.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.1168, allocations: 42.5 kB / 430.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1168, allocations: 0 / 430.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005253/0.1173, allocations: 113.5 kB / 431 MB, free: 1.258 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.453e-05/0.1174, allocations: 55.39 kB / 431 MB, free: 1.191 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.1175, allocations: 101.9 kB / 431.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.1175, allocations: 29.7 kB / 431.2 MB, free: 1.047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.967e-05/0.1175, allocations: 96.06 kB / 431.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.1175, allocations: 3.953 kB / 431.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.1176, allocations: 17.72 kB / 431.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.1177, allocations: 314.8 kB / 431.6 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.67e-05/0.1178, allocations: 8 kB / 431.6 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.69e-05/0.1178, allocations: 31.38 kB / 431.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.192e-05/0.1178, allocations: 39.38 kB / 431.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1179, allocations: 3.938 kB / 431.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.931e-05/0.1179, allocations: 57.62 kB / 431.7 MB, free: 448 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.118, allocations: 8.125 kB / 431.7 MB, free: 440 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.118, allocations: 7.938 kB / 431.7 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.118, allocations: 0 / 431.7 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.442e-05/0.1181, allocations: 11.98 kB / 431.8 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1181, allocations: 0 / 431.8 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.815e-05/0.1181, allocations: 4 kB / 431.8 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.1181, allocations: 4 kB / 431.8 MB, free: 412 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (5): * Single equations (assignments): 5 * 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.0001053/0.1182, allocations: 113.8 kB / 431.9 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000304/0.1185, allocations: 85.59 kB / 432 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.841e-05/0.1186, allocations: 19.83 kB / 432 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.1186, allocations: 4 kB / 432 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1186, allocations: 0 / 432 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1186, allocations: 0 / 432 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2098/0.3283, allocations: 155.6 kB / 432.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.3283, allocations: 0.5625 kB / 432.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.3285, allocations: 15.17 kB / 432.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.3285, allocations: 0 / 432.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.3285, allocations: 6.891 kB / 432.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.3285, allocations: 2.688 kB / 432.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3285, allocations: 2.469 kB / 432.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003864/0.3289, allocations: 117.7 kB / 432.3 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.766e-05/0.3289, allocations: 79.53 kB / 432.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.3289, allocations: 5.031 kB / 432.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.387e-05/0.329, allocations: 8.141 kB / 432.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-06/0.329, allocations: 3.062 kB / 432.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.329, allocations: 1.859 kB / 432.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.363e-05/0.3291, allocations: 88.14 kB / 432.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3291, allocations: 0 / 432.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.3293, allocations: 6.469 kB / 432.5 MB, free: 11.5 MB / 350.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.0001157/0.3295, allocations: 99.97 kB / 432.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002458/0.3297, allocations: 46.2 kB / 432.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3297, allocations: 0.5625 kB / 432.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.3297, allocations: 0 / 432.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.3301, allocations: 45.66 kB / 432.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003966/0.3305, allocations: 157.3 kB / 432.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.3306, allocations: 0.6817 MB / 433.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.3306, allocations: 11.86 kB / 433.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3306, allocations: 0.7188 kB / 433.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of Templates: time 0.002412/0.333, allocations: 0.6836 MB / 434.2 MB, free: 10.57 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.1029299579095095]