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.001536/0.001536, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.001512/0.001512, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.56/1.56, allocations: 230.6 MB / 257.5 MB, free: 8.039 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.002175/0.002175, allocations: 47.92 kB / 378.3 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3429, allocations: 53.36 MB / 431.6 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.003036/0.346, allocations: 1.494 MB / 433.1 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002051/0.3462, allocations: 35.84 kB / 433.2 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.722e-05/0.3463, allocations: 4 kB / 433.2 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.459e-05/0.3463, allocations: 3.938 kB / 433.2 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.163e-05/0.3464, allocations: 7.922 kB / 433.2 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003628/0.3467, allocations: 23.92 kB / 433.2 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.3469, allocations: 35.92 kB / 433.2 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.347, allocations: 15.97 kB / 433.2 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.228e-05/0.3471, allocations: 11.94 kB / 433.3 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.535e-05/0.3472, allocations: 23.91 kB / 433.3 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.3472, allocations: 4 kB / 433.3 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.59e-05/0.3472, allocations: 4 kB / 433.3 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.951e-05/0.3472, allocations: 7.938 kB / 433.3 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.137e-05/0.3473, allocations: 19.92 kB / 433.3 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.3474, allocations: 41.36 kB / 433.4 MB, free: 5.215 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.3474, allocations: 0 / 433.4 MB, free: 5.215 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3474, allocations: 0 / 433.4 MB, free: 5.215 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.3474, allocations: 4 kB / 433.4 MB, free: 5.211 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.0006592/0.3481, allocations: 278 kB / 433.6 MB, free: 4.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.3481, allocations: 8.031 kB / 433.6 MB, free: 4.902 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.527e-05/0.3482, allocations: 8.891 kB / 433.7 MB, free: 4.895 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002697/0.3484, allocations: 126.4 kB / 433.8 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.3485, allocations: 4.375 kB / 433.8 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.3485, allocations: 384 / 433.8 MB, free: 4.742 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006329/0.3491, allocations: 159.8 kB / 433.9 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.3491, allocations: 192 / 433.9 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.3492, allocations: 7.922 kB / 433.9 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.3492, allocations: 0 / 433.9 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002656/0.3494, allocations: 47.89 kB / 434 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002558/0.3497, allocations: 140.7 kB / 434.1 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003245/0.35, allocations: 82.5 kB / 434.2 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.3502, allocations: 32.91 kB / 434.2 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.3502, allocations: 4 kB / 434.2 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.3502, allocations: 30.56 kB / 434.3 MB, free: 4.172 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3502, allocations: 4 kB / 434.3 MB, free: 4.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005006/0.3507, allocations: 121.5 kB / 434.4 MB, free: 4.043 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.558e-05/0.3508, allocations: 59.34 kB / 434.5 MB, free: 3.973 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.3509, allocations: 105.8 kB / 434.6 MB, free: 3.859 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.3509, allocations: 25.7 kB / 434.6 MB, free: 3.828 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.302e-05/0.351, allocations: 88.14 kB / 434.7 MB, free: 3.738 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.351, allocations: 3.953 kB / 434.7 MB, free: 3.734 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.513e-05/0.351, allocations: 17.72 kB / 434.7 MB, free: 3.711 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3512, allocations: 318.8 kB / 435 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.457e-05/0.3512, allocations: 4 kB / 435 MB, free: 3.387 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.431e-05/0.3512, allocations: 31.42 kB / 435 MB, free: 3.344 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.451e-05/0.3513, allocations: 39.38 kB / 435.1 MB, free: 3.293 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3513, allocations: 0 / 435.1 MB, free: 3.293 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001523/0.3514, allocations: 69.5 kB / 435.1 MB, free: 3.219 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.3515, allocations: 8 kB / 435.1 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.3515, allocations: 4.438 kB / 435.2 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.3515, allocations: 0 / 435.2 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.33e-05/0.3515, allocations: 8 kB / 435.2 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3515, allocations: 0 / 435.2 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.669e-05/0.3516, allocations: 12.11 kB / 435.2 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.3516, allocations: 8.109 kB / 435.2 MB, free: 3.18 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.338e-05/0.3517, allocations: 113.8 kB / 435.3 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002953/0.352, allocations: 93.52 kB / 435.4 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.972e-05/0.352, allocations: 11.94 kB / 435.4 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.352, allocations: 4 kB / 435.4 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.352, allocations: 0 / 435.4 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.352, allocations: 0 / 435.4 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.3521, allocations: 128.7 kB / 435.5 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3521, allocations: 0 / 435.5 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.3522, allocations: 23.97 kB / 435.5 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3522, allocations: 0 / 435.5 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.3522, allocations: 3.938 kB / 435.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3522, allocations: 0 / 435.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3522, allocations: 3.938 kB / 435.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.3526, allocations: 121 kB / 435.7 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-06/0.3526, allocations: 0 / 435.7 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.3526, allocations: 7.938 kB / 435.7 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.975e-05/0.3527, allocations: 15.98 kB / 435.7 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-06/0.3527, allocations: 0 / 435.7 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.3527, allocations: 0 / 435.7 MB, free: 2.578 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.241e-05/0.3527, allocations: 87.27 kB / 435.8 MB, free: 2.492 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3527, allocations: 0 / 435.8 MB, free: 2.492 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000198/0.3529, allocations: 8 kB / 435.8 MB, free: 2.484 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.0001183/0.353, allocations: 95.25 kB / 435.9 MB, free: 2.383 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002257/0.3533, allocations: 40.09 kB / 435.9 MB, free: 2.344 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3533, allocations: 4.062 kB / 435.9 MB, free: 2.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.3533, allocations: 0 / 435.9 MB, free: 2.34 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004912/0.3538, allocations: 39.98 kB / 436 MB, free: 2.301 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004224/0.3542, allocations: 137.2 kB / 436.1 MB, free: 2.145 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/0.3546, allocations: 0.6807 MB / 436.8 MB, free: 1.438 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.456e-05/0.3546, allocations: 0 / 436.8 MB, free: 1.438 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.579e-05/0.3546, allocations: 15.42 kB / 436.8 MB, free: 1.422 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3546, allocations: 7.938 kB / 436.8 MB, free: 1.414 MB / 334.1 MB Notification: Performance of Templates: time 0.003235/0.3579, allocations: 0.5565 MB / 437.4 MB, free: 0.8672 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.954783235909417]