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.001427/0.001427, allocations: 105.1 kB / 21.22 MB, free: 0.5117 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.001572/0.001572, allocations: 210.7 kB / 24.54 MB, free: 3.879 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.559/1.559, allocations: 230.3 MB / 258 MB, free: 8.219 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.002191/0.002191, allocations: 59.91 kB / 378.8 MB, free: 2.789 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3471, allocations: 53.36 MB / 432.1 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.003496/0.3506, allocations: 1.484 MB / 433.6 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000222/0.3508, allocations: 43.83 kB / 433.7 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.141e-05/0.3508, allocations: 0 / 433.7 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.243e-05/0.3509, allocations: 3.938 kB / 433.7 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.827e-05/0.3509, allocations: 7.938 kB / 433.7 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.3512, allocations: 19.97 kB / 433.7 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.3513, allocations: 35.92 kB / 433.7 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.3514, allocations: 15.92 kB / 433.7 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.045e-05/0.3515, allocations: 15.98 kB / 433.8 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.086e-05/0.3515, allocations: 23.91 kB / 433.8 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.693e-05/0.3515, allocations: 4 kB / 433.8 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.43e-05/0.3516, allocations: 4 kB / 433.8 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.765e-05/0.3516, allocations: 7.938 kB / 433.8 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.596e-05/0.3516, allocations: 19.92 kB / 433.8 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.3518, allocations: 41.78 kB / 433.9 MB, free: 5.359 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3518, allocations: 0 / 433.9 MB, free: 5.359 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3518, allocations: 0 / 433.9 MB, free: 5.359 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.3518, allocations: 0 / 433.9 MB, free: 5.359 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.0005854/0.3524, allocations: 282 kB / 434.1 MB, free: 5.055 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.3524, allocations: 8.031 kB / 434.1 MB, free: 5.047 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/0.3524, allocations: 8.891 kB / 434.1 MB, free: 5.039 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.3527, allocations: 126.5 kB / 434.3 MB, free: 4.891 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.3527, allocations: 4.312 kB / 434.3 MB, free: 4.887 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.3527, allocations: 4.375 kB / 434.3 MB, free: 4.883 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006545/0.3534, allocations: 155.7 kB / 434.4 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.3534, allocations: 4.172 kB / 434.4 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.3534, allocations: 7.938 kB / 434.4 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3534, allocations: 0 / 434.4 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003048/0.3537, allocations: 47.89 kB / 434.5 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001922/0.3539, allocations: 136.7 kB / 434.6 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000409/0.3543, allocations: 78.52 kB / 434.7 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.3545, allocations: 44.89 kB / 434.7 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.3545, allocations: 4 kB / 434.7 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.3546, allocations: 30.56 kB / 434.8 MB, free: 4.309 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.3546, allocations: 3.938 kB / 434.8 MB, free: 4.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005993/0.3552, allocations: 121.5 kB / 434.9 MB, free: 4.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.97e-05/0.3552, allocations: 55.41 kB / 434.9 MB, free: 4.113 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.3554, allocations: 109.8 kB / 435.1 MB, free: 3.996 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.3554, allocations: 25.7 kB / 435.1 MB, free: 3.965 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.7e-05/0.3554, allocations: 84.14 kB / 435.2 MB, free: 3.879 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.3554, allocations: 3.953 kB / 435.2 MB, free: 3.875 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.3555, allocations: 21.7 kB / 435.2 MB, free: 3.848 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3556, allocations: 318.8 kB / 435.5 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.35e-05/0.3557, allocations: 0 / 435.5 MB, free: 3.527 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.819e-05/0.3557, allocations: 35.42 kB / 435.5 MB, free: 3.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.649e-05/0.3558, allocations: 39.38 kB / 435.6 MB, free: 3.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3558, allocations: 0 / 435.6 MB, free: 3.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.391e-05/0.3559, allocations: 61.56 kB / 435.6 MB, free: 3.363 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.3559, allocations: 4 kB / 435.6 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.3559, allocations: 4.062 kB / 435.6 MB, free: 3.355 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.3559, allocations: 8.125 kB / 435.6 MB, free: 3.348 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.857e-05/0.356, allocations: 12 kB / 435.7 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.356, allocations: 4 kB / 435.7 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.999e-05/0.356, allocations: 0 / 435.7 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.356, allocations: 4 kB / 435.7 MB, free: 3.328 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 0.0001215/0.3561, allocations: 109.8 kB / 435.8 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003311/0.3564, allocations: 97.52 kB / 435.9 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.999e-05/0.3565, allocations: 7.938 kB / 435.9 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3565, allocations: 0 / 435.9 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3565, allocations: 4 kB / 435.9 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.3565, allocations: 0 / 435.9 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.3566, allocations: 136.7 kB / 436 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.3566, allocations: 0 / 436 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.3567, allocations: 15.97 kB / 436 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3567, allocations: 3.938 kB / 436 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.3567, allocations: 3.938 kB / 436 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.3567, allocations: 7.938 kB / 436 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3567, allocations: 0 / 436 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003658/0.3571, allocations: 121 kB / 436.2 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.079e-05/0.3571, allocations: 4 kB / 436.2 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.3571, allocations: 3.938 kB / 436.2 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.675e-05/0.3572, allocations: 7.984 kB / 436.2 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-06/0.3572, allocations: 0 / 436.2 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.3572, allocations: 4 kB / 436.2 MB, free: 2.727 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.431e-05/0.3573, allocations: 87.27 kB / 436.3 MB, free: 2.641 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3573, allocations: 0 / 436.3 MB, free: 2.641 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000192/0.3575, allocations: 4 kB / 436.3 MB, free: 2.637 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.0001312/0.3576, allocations: 106.9 kB / 436.4 MB, free: 2.527 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002525/0.3578, allocations: 39.91 kB / 436.4 MB, free: 2.488 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.3579, allocations: 0 / 436.4 MB, free: 2.488 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.3579, allocations: 0 / 436.4 MB, free: 2.488 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.3582, allocations: 40.23 kB / 436.5 MB, free: 2.449 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004159/0.3587, allocations: 133.7 kB / 436.6 MB, free: 2.293 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.359, allocations: 0.6848 MB / 437.3 MB, free: 1.582 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.17e-05/0.359, allocations: 3.984 kB / 437.3 MB, free: 1.578 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.35e-05/0.3591, allocations: 15.42 kB / 437.3 MB, free: 1.562 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3591, allocations: 0 / 437.3 MB, free: 1.562 MB / 334.1 MB Notification: Performance of Templates: time 0.003105/0.3622, allocations: 0.5553 MB / 437.8 MB, free: 1.016 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.863581903278828]