Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001927/0.001927, allocations: 112.2 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002237/0.002237, allocations: 196.4 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.56/1.56, allocations: 225.6 MB / 250.8 MB, free: 13.38 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 51.91 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3253, allocations: 52.13 MB / 420.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002958/0.3283, allocations: 1.476 MB / 422.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002136/0.3285, allocations: 51.77 kB / 422.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.499e-05/0.3285, allocations: 0 / 422.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.188e-05/0.3286, allocations: 3.938 kB / 422.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.734e-05/0.3286, allocations: 7.922 kB / 422.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.3289, allocations: 19.98 kB / 422.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.329, allocations: 35.92 kB / 422.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.3291, allocations: 15.97 kB / 422.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.329e-05/0.3292, allocations: 15.92 kB / 422.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.933e-05/0.3292, allocations: 15.92 kB / 422.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.3293, allocations: 4 kB / 422.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.213e-05/0.3293, allocations: 8 kB / 422.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.717e-05/0.3293, allocations: 11.94 kB / 422.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.782e-05/0.3293, allocations: 11.92 kB / 422.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.3295, allocations: 41.42 kB / 422.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3295, allocations: 0 / 422.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3295, allocations: 4 kB / 422.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.3295, allocations: 0 / 422.6 MB, free: 13.41 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.0005934/0.3301, allocations: 359 kB / 422.9 MB, free: 13.01 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.3301, allocations: 8.031 kB / 422.9 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.377e-05/0.3301, allocations: 4.938 kB / 423 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.3304, allocations: 188.2 kB / 423.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.3304, allocations: 384 / 423.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.507e-05/0.3304, allocations: 4.375 kB / 423.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005915/0.331, allocations: 163.8 kB / 423.3 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.331, allocations: 192 / 423.3 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.331, allocations: 3.938 kB / 423.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.331, allocations: 4 kB / 423.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000273/0.3313, allocations: 51.88 kB / 423.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001776/0.3315, allocations: 165.6 kB / 423.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.3318, allocations: 82.5 kB / 423.6 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.332, allocations: 32.91 kB / 423.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.332, allocations: 0 / 423.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.332, allocations: 42.55 kB / 423.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.332, allocations: 0 / 423.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005153/0.3325, allocations: 121.4 kB / 423.8 MB, free: 12.03 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.951e-05/0.3326, allocations: 59.41 kB / 423.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.3327, allocations: 105.8 kB / 424 MB, free: 11.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.3327, allocations: 25.7 kB / 424 MB, free: 11.81 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.677e-05/0.3328, allocations: 84.14 kB / 424.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.3328, allocations: 7.938 kB / 424.1 MB, free: 11.72 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-05/0.3328, allocations: 21.72 kB / 424.1 MB, free: 11.69 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.333, allocations: 314.8 kB / 424.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.543e-05/0.333, allocations: 7.938 kB / 424.4 MB, free: 11.37 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.516e-05/0.333, allocations: 27.44 kB / 424.4 MB, free: 11.33 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.452e-05/0.3331, allocations: 39.38 kB / 424.5 MB, free: 11.28 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3331, allocations: 0 / 424.5 MB, free: 11.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.522e-05/0.3332, allocations: 69.52 kB / 424.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.3332, allocations: 4 kB / 424.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.3332, allocations: 7.938 kB / 424.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3332, allocations: 0 / 424.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.476e-05/0.3333, allocations: 11.98 kB / 424.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.3333, allocations: 128 / 424.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.877e-05/0.3333, allocations: 4.125 kB / 424.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.3333, allocations: 8 kB / 424.6 MB, free: 11.17 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.0001065/0.3334, allocations: 117.8 kB / 424.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002868/0.3337, allocations: 89.56 kB / 424.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.582e-05/0.3338, allocations: 11.84 kB / 424.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3338, allocations: 0 / 424.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3338, allocations: 0 / 424.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3338, allocations: 4 kB / 424.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.3339, allocations: 165.6 kB / 425 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3339, allocations: 0 / 425 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.658e-05/0.334, allocations: 11.98 kB / 425 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.334, allocations: 0 / 425 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.334, allocations: 11.92 kB / 425 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.334, allocations: 0 / 425 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.334, allocations: 0 / 425 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/0.3344, allocations: 115.1 kB / 425.1 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.906e-05/0.3344, allocations: 85.05 kB / 425.2 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.3344, allocations: 7.938 kB / 425.2 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.063e-05/0.3345, allocations: 11.92 kB / 425.2 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-06/0.3345, allocations: 4 kB / 425.2 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.3345, allocations: 4 kB / 425.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.032e-05/0.3346, allocations: 79.28 kB / 425.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3346, allocations: 0 / 425.3 MB, free: 10.36 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001874/0.3347, allocations: 8 kB / 425.3 MB, free: 10.35 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.0001603/0.3349, allocations: 104 kB / 425.4 MB, free: 10.24 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002296/0.3351, allocations: 43.91 kB / 425.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3351, allocations: 0 / 425.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.3351, allocations: 0 / 425.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.3355, allocations: 47.36 kB / 425.5 MB, free: 10.15 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004054/0.3359, allocations: 141.4 kB / 425.6 MB, free: 9.988 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.3363, allocations: 0.6844 MB / 426.3 MB, free: 9.277 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.906e-05/0.3363, allocations: 4.25 kB / 426.3 MB, free: 9.273 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.087e-05/0.3363, allocations: 7.438 kB / 426.3 MB, free: 9.266 MB / 334.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3363, allocations: 4 kB / 426.3 MB, free: 9.262 MB / 334.1 MB Notification: Performance of Templates: time 0.003303/0.3396, allocations: 0.5398 MB / 426.9 MB, free: 8.723 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.827105187810957]