Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001711/0.001711, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002095/0.002095, allocations: 206.4 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.522/1.522, allocations: 230.5 MB / 257.4 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003068/0.003068, allocations: 72.02 kB / 378.2 MB, free: 2.289 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2996, allocations: 53.4 MB / 431.6 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.003489/0.303, allocations: 1.48 MB / 433.1 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002164/0.3033, allocations: 35.78 kB / 433.2 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.062e-05/0.3033, allocations: 4 kB / 433.2 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.378e-05/0.3034, allocations: 3.938 kB / 433.2 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.713e-05/0.3034, allocations: 7.938 kB / 433.2 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003089/0.3037, allocations: 27.95 kB / 433.2 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000107/0.3038, allocations: 39.86 kB / 433.2 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.304, allocations: 7.984 kB / 433.2 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.507e-05/0.304, allocations: 15.94 kB / 433.3 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.557e-05/0.3041, allocations: 15.92 kB / 433.3 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.3041, allocations: 4 kB / 433.3 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.226e-05/0.3041, allocations: 4 kB / 433.3 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.51e-05/0.3042, allocations: 11.97 kB / 433.3 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.966e-05/0.3042, allocations: 11.94 kB / 433.3 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.3043, allocations: 38.36 kB / 433.3 MB, free: 4.977 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.3043, allocations: 7.984 kB / 433.3 MB, free: 4.969 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3043, allocations: 0 / 433.3 MB, free: 4.969 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.3043, allocations: 0 / 433.3 MB, free: 4.969 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.0005673/0.3049, allocations: 282.3 kB / 433.6 MB, free: 4.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.3049, allocations: 11.98 kB / 433.6 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/0.305, allocations: 8.891 kB / 433.6 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002527/0.3052, allocations: 126.4 kB / 433.8 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.3052, allocations: 4.375 kB / 433.8 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.3053, allocations: 384 / 433.8 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005722/0.3058, allocations: 167.7 kB / 433.9 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3058, allocations: 192 / 433.9 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.3059, allocations: 3.938 kB / 433.9 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3059, allocations: 0 / 433.9 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002541/0.3061, allocations: 51.92 kB / 434 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001417/0.3063, allocations: 109.2 kB / 434.1 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/0.3066, allocations: 82.5 kB / 434.2 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.3067, allocations: 36.91 kB / 434.2 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.3067, allocations: 4 kB / 434.2 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.3068, allocations: 42.44 kB / 434.3 MB, free: 3.938 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3068, allocations: 0 / 434.3 MB, free: 3.938 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004934/0.3073, allocations: 113.5 kB / 434.4 MB, free: 3.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.096e-05/0.3073, allocations: 59.39 kB / 434.4 MB, free: 3.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.3075, allocations: 101.9 kB / 434.5 MB, free: 3.641 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.3075, allocations: 25.7 kB / 434.6 MB, free: 3.609 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.849e-05/0.3076, allocations: 88.12 kB / 434.6 MB, free: 3.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.533e-05/0.3076, allocations: 3.953 kB / 434.6 MB, free: 3.516 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.3076, allocations: 17.72 kB / 434.7 MB, free: 3.492 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.3078, allocations: 318.8 kB / 435 MB, free: 3.172 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.98e-05/0.3078, allocations: 11.92 kB / 435 MB, free: 3.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.85e-05/0.3079, allocations: 39.38 kB / 435 MB, free: 3.109 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.516e-05/0.3079, allocations: 35.38 kB / 435.1 MB, free: 3.062 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3079, allocations: 0 / 435.1 MB, free: 3.062 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.905e-05/0.308, allocations: 57.62 kB / 435.1 MB, free: 3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.308, allocations: 8 kB / 435.1 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.308, allocations: 4.125 kB / 435.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.308, allocations: 3.938 kB / 435.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.78e-05/0.3081, allocations: 11.98 kB / 435.1 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.3081, allocations: 0 / 435.1 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.46e-05/0.3081, allocations: 8 kB / 435.1 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-06/0.3081, allocations: 0 / 435.1 MB, free: 2.965 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.374e-05/0.3082, allocations: 113.8 kB / 435.3 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002846/0.3085, allocations: 89.59 kB / 435.3 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.788e-05/0.3086, allocations: 11.98 kB / 435.4 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3086, allocations: 3.938 kB / 435.4 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.3086, allocations: 4 kB / 435.4 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.3086, allocations: 0 / 435.4 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.423e-05/0.3087, allocations: 105.3 kB / 435.5 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3087, allocations: 0 / 435.5 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.807e-05/0.3088, allocations: 19.92 kB / 435.5 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3088, allocations: 0 / 435.5 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.3088, allocations: 0 / 435.5 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3088, allocations: 0 / 435.5 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.3088, allocations: 3.938 kB / 435.5 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/0.3091, allocations: 121.2 kB / 435.6 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.003e-05/0.3091, allocations: 4 kB / 435.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.3091, allocations: 4 kB / 435.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.736e-05/0.3092, allocations: 8.031 kB / 435.6 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.526e-06/0.3092, allocations: 7.922 kB / 435.6 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.936e-06/0.3092, allocations: 8.125 kB / 435.6 MB, free: 2.398 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.317e-05/0.3093, allocations: 83.27 kB / 435.7 MB, free: 2.316 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3093, allocations: 0 / 435.7 MB, free: 2.316 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001926/0.3095, allocations: 8 kB / 435.7 MB, free: 2.309 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.0001241/0.3096, allocations: 95.25 kB / 435.8 MB, free: 2.207 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002171/0.3098, allocations: 48.08 kB / 435.9 MB, free: 2.16 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3098, allocations: 0 / 435.9 MB, free: 2.16 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.3098, allocations: 0 / 435.9 MB, free: 2.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.3102, allocations: 40 kB / 435.9 MB, free: 2.121 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004251/0.3106, allocations: 141.4 kB / 436 MB, free: 1.957 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.548e-05/0.3107, allocations: 63.34 kB / 436.1 MB, free: 1.875 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.063e-05/0.3107, allocations: 7.984 kB / 436.1 MB, free: 1.867 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.187e-05/0.3107, allocations: 7.438 kB / 436.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3107, allocations: 0 / 436.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of Templates: time 0.003407/0.3141, allocations: 0.5933 MB / 436.7 MB, free: 1.281 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.649820139631629]