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.001395/0.001395, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 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.001591/0.001591, allocations: 209.6 kB / 23.73 MB, free: 4.523 MB / 14.72 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.746/1.746, allocations: 230.6 MB / 257.5 MB, free: 7.801 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+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 0.001604/0.001604, allocations: 55.86 kB / 378.2 MB, free: 2.562 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3097, allocations: 53.36 MB / 431.6 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.003138/0.3129, allocations: 1.477 MB / 433.1 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002297/0.3131, allocations: 35.84 kB / 433.1 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.314e-05/0.3132, allocations: 4 kB / 433.1 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.551e-05/0.3132, allocations: 3.938 kB / 433.1 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.952e-05/0.3133, allocations: 3.938 kB / 433.1 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.3136, allocations: 27.95 kB / 433.1 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.3137, allocations: 39.86 kB / 433.2 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.3138, allocations: 11.98 kB / 433.2 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.601e-05/0.3139, allocations: 15.94 kB / 433.2 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.842e-05/0.3139, allocations: 15.92 kB / 433.2 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.3139, allocations: 4 kB / 433.2 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.349e-05/0.3139, allocations: 4 kB / 433.2 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.325e-05/0.314, allocations: 7.984 kB / 433.2 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.156e-05/0.314, allocations: 15.92 kB / 433.2 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.3141, allocations: 41.36 kB / 433.3 MB, free: 5.035 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3142, allocations: 3.938 kB / 433.3 MB, free: 5.031 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3142, allocations: 4 kB / 433.3 MB, free: 5.027 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.3142, allocations: 0 / 433.3 MB, free: 5.027 MB / 334.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.0006516/0.3148, allocations: 282 kB / 433.6 MB, free: 4.723 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.3149, allocations: 8.031 kB / 433.6 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.3e-05/0.3149, allocations: 8.891 kB / 433.6 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.3152, allocations: 126.4 kB / 433.7 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.3152, allocations: 8.375 kB / 433.7 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.3152, allocations: 384 / 433.7 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006227/0.3158, allocations: 163.8 kB / 433.9 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3158, allocations: 192 / 433.9 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.3158, allocations: 3.938 kB / 433.9 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.3158, allocations: 0 / 433.9 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002627/0.3161, allocations: 51.88 kB / 433.9 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001531/0.3163, allocations: 109.2 kB / 434 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003334/0.3166, allocations: 82.5 kB / 434.1 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.3167, allocations: 40.91 kB / 434.2 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.3168, allocations: 0 / 434.2 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/0.3168, allocations: 30.56 kB / 434.2 MB, free: 4.016 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.3168, allocations: 4 kB / 434.2 MB, free: 4.012 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005098/0.3173, allocations: 117.5 kB / 434.3 MB, free: 3.891 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.48e-05/0.3174, allocations: 63.33 kB / 434.4 MB, free: 3.816 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.3175, allocations: 105.8 kB / 434.5 MB, free: 3.703 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.3175, allocations: 29.7 kB / 434.5 MB, free: 3.668 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.971e-05/0.3176, allocations: 84.12 kB / 434.6 MB, free: 3.582 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.3176, allocations: 3.953 kB / 434.6 MB, free: 3.578 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.125e-05/0.3176, allocations: 17.72 kB / 434.6 MB, free: 3.555 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.3178, allocations: 318.8 kB / 434.9 MB, free: 3.234 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.889e-05/0.3178, allocations: 7.984 kB / 434.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.022e-05/0.3179, allocations: 27.44 kB / 435 MB, free: 3.188 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.633e-05/0.3179, allocations: 39.38 kB / 435 MB, free: 3.137 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3179, allocations: 0 / 435 MB, free: 3.137 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001209/0.3181, allocations: 61.56 kB / 435.1 MB, free: 3.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3181, allocations: 4 kB / 435.1 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3181, allocations: 4 kB / 435.1 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.3181, allocations: 8.062 kB / 435.1 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.241e-05/0.3182, allocations: 11.98 kB / 435.1 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3182, allocations: 0 / 435.1 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.59e-05/0.3182, allocations: 8 kB / 435.1 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.3182, allocations: 0 / 435.1 MB, free: 3.035 MB / 334.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 9.484e-05/0.3183, allocations: 109.8 kB / 435.2 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003047/0.3186, allocations: 93.53 kB / 435.3 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.3186, allocations: 11.92 kB / 435.3 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3186, allocations: 7.938 kB / 435.3 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3186, allocations: 0 / 435.3 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3186, allocations: 4 kB / 435.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.244e-05/0.3187, allocations: 105.5 kB / 435.4 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3187, allocations: 0 / 435.4 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.693e-05/0.3188, allocations: 15.98 kB / 435.4 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.3188, allocations: 0 / 435.4 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.3188, allocations: 4.109 kB / 435.4 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3188, allocations: 4 kB / 435.4 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3189, allocations: 7.875 kB / 435.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003414/0.3192, allocations: 121 kB / 435.6 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.267e-06/0.3192, allocations: 4 kB / 435.6 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.3192, allocations: 0 / 435.6 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.021e-05/0.3193, allocations: 15.98 kB / 435.6 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.162e-06/0.3193, allocations: 3.938 kB / 435.6 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-06/0.3193, allocations: 4 kB / 435.6 MB, free: 2.461 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.933e-05/0.3194, allocations: 83.27 kB / 435.7 MB, free: 2.379 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3194, allocations: 0 / 435.7 MB, free: 2.379 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001896/0.3196, allocations: 8 kB / 435.7 MB, free: 2.371 MB / 334.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.0001152/0.3197, allocations: 95.25 kB / 435.8 MB, free: 2.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002178/0.3199, allocations: 43.89 kB / 435.8 MB, free: 2.227 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3199, allocations: 256 / 435.8 MB, free: 2.227 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.3199, allocations: 4 kB / 435.8 MB, free: 2.223 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.3203, allocations: 38.03 kB / 435.9 MB, free: 2.188 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004048/0.3207, allocations: 133.6 kB / 436 MB, free: 2.031 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.329e-05/0.3207, allocations: 67.33 kB / 436.1 MB, free: 1.945 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.233e-05/0.3208, allocations: 4 kB / 436.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.3208, allocations: 7.438 kB / 436.1 MB, free: 1.934 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3208, allocations: 0 / 436.1 MB, free: 1.934 MB / 334.1 MB Notification: Performance of Templates: time 0.003544/0.3243, allocations: 0.6155 MB / 436.7 MB, free: 1.332 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 4.9748384691774845]