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.001724/0.001724, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002456/0.002456, allocations: 216.6 kB / 23.73 MB, free: 4.156 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.501/1.501, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.001616/0.001616, allocations: 47.92 kB / 378.2 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2618, allocations: 53.36 MB / 431.6 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002831/0.2646, allocations: 1.483 MB / 433.1 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002027/0.2648, allocations: 35.91 kB / 433.1 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.926e-05/0.2649, allocations: 3.938 kB / 433.1 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.988e-05/0.2649, allocations: 0 / 433.1 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.237e-05/0.2649, allocations: 11.88 kB / 433.1 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002695/0.2652, allocations: 31.89 kB / 433.1 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.2653, allocations: 35.86 kB / 433.2 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.2654, allocations: 12 kB / 433.2 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.838e-05/0.2655, allocations: 15.98 kB / 433.2 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.364e-05/0.2655, allocations: 19.86 kB / 433.2 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.2656, allocations: 4 kB / 433.2 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.162e-05/0.2656, allocations: 4 kB / 433.2 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.457e-05/0.2656, allocations: 11.97 kB / 433.2 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.71e-05/0.2656, allocations: 11.94 kB / 433.3 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.2657, allocations: 35.55 kB / 433.3 MB, free: 5.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2657, allocations: 3.938 kB / 433.3 MB, free: 5.016 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2657, allocations: 0 / 433.3 MB, free: 5.016 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.229e-06/0.2657, allocations: 4 kB / 433.3 MB, free: 5.012 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.0005462/0.2663, allocations: 280.8 kB / 433.6 MB, free: 4.707 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.2663, allocations: 12.03 kB / 433.6 MB, free: 4.695 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.2664, allocations: 4.891 kB / 433.6 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.2666, allocations: 130.5 kB / 433.7 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.2666, allocations: 384 / 433.7 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.2667, allocations: 4.375 kB / 433.7 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006026/0.2673, allocations: 155.7 kB / 433.9 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.2673, allocations: 4.188 kB / 433.9 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.2673, allocations: 3.938 kB / 433.9 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.2673, allocations: 3.984 kB / 433.9 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002553/0.2675, allocations: 51.94 kB / 433.9 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001386/0.2677, allocations: 109.2 kB / 434 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003159/0.268, allocations: 82.45 kB / 434.1 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.2681, allocations: 36.89 kB / 434.2 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.2682, allocations: 4 kB / 434.2 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.2682, allocations: 30.56 kB / 434.2 MB, free: 4 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.2682, allocations: 0 / 434.2 MB, free: 4 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005083/0.2687, allocations: 125.5 kB / 434.3 MB, free: 3.871 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/0.2688, allocations: 51.41 kB / 434.4 MB, free: 3.809 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.2689, allocations: 109.8 kB / 434.5 MB, free: 3.691 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.2689, allocations: 29.64 kB / 434.5 MB, free: 3.656 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.865e-05/0.2689, allocations: 84.14 kB / 434.6 MB, free: 3.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.2689, allocations: 7.938 kB / 434.6 MB, free: 3.562 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.269, allocations: 17.72 kB / 434.6 MB, free: 3.539 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.2691, allocations: 314.8 kB / 434.9 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.425e-05/0.2692, allocations: 4 kB / 434.9 MB, free: 3.219 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.559e-05/0.2692, allocations: 31.42 kB / 435 MB, free: 3.176 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.24e-05/0.2692, allocations: 39.38 kB / 435 MB, free: 3.125 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2692, allocations: 3.938 kB / 435 MB, free: 3.121 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.236e-05/0.2693, allocations: 61.62 kB / 435.1 MB, free: 3.055 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.2694, allocations: 4 kB / 435.1 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.2694, allocations: 4 kB / 435.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.2694, allocations: 3.938 kB / 435.1 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.058e-05/0.2694, allocations: 16.06 kB / 435.1 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.2694, allocations: 0 / 435.1 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.171e-05/0.2695, allocations: 3.984 kB / 435.1 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.2695, allocations: 4 kB / 435.1 MB, free: 3.02 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.917e-05/0.2696, allocations: 113.8 kB / 435.2 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002804/0.2698, allocations: 85.59 kB / 435.3 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.892e-05/0.2699, allocations: 11.94 kB / 435.3 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.2699, allocations: 3.938 kB / 435.3 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2699, allocations: 8.109 kB / 435.3 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.2699, allocations: 0 / 435.3 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.348e-05/0.27, allocations: 109.3 kB / 435.4 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.27, allocations: 0 / 435.4 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.646e-05/0.2701, allocations: 15.97 kB / 435.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2701, allocations: 0 / 435.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.2701, allocations: 4 kB / 435.4 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2701, allocations: 0 / 435.4 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.2701, allocations: 3.938 kB / 435.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000326/0.2704, allocations: 121.2 kB / 435.6 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-06/0.2704, allocations: 3.938 kB / 435.6 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.2704, allocations: 4 kB / 435.6 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.61e-05/0.2705, allocations: 7.984 kB / 435.6 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.958e-06/0.2705, allocations: 7.938 kB / 435.6 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.2705, allocations: 0 / 435.6 MB, free: 2.457 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.644e-05/0.2706, allocations: 95.2 kB / 435.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2706, allocations: 0 / 435.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001864/0.2708, allocations: 4 kB / 435.7 MB, free: 2.359 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.0001194/0.2709, allocations: 95.25 kB / 435.8 MB, free: 2.258 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002059/0.2711, allocations: 39.97 kB / 435.8 MB, free: 2.219 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2711, allocations: 0 / 435.8 MB, free: 2.219 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.2711, allocations: 8.188 kB / 435.8 MB, free: 2.211 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.2714, allocations: 45.22 kB / 435.9 MB, free: 2.172 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003699/0.2718, allocations: 129.6 kB / 436 MB, free: 2.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.767e-05/0.2719, allocations: 67.34 kB / 436.1 MB, free: 1.934 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.584e-05/0.2719, allocations: 7.984 kB / 436.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.708e-05/0.2719, allocations: 11.38 kB / 436.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2719, allocations: 0 / 436.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of Templates: time 0.002865/0.2748, allocations: 0.5852 MB / 436.7 MB, free: 1.336 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.50856601074338]