Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.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.001385/0.001385, allocations: 110.4 kB / 21.17 MB, free: 0.7734 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.001648/0.001648, allocations: 215.6 kB / 24.46 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.706/1.706, allocations: 230.4 MB / 258.1 MB, free: 8.148 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-beta.om/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.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 63.84 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3614, allocations: 53.32 MB / 432 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.00368/0.3651, allocations: 1.461 MB / 433.5 MB, free: 5.922 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002583/0.3653, allocations: 27.92 kB / 433.5 MB, free: 5.895 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.227e-05/0.3654, allocations: 0 / 433.5 MB, free: 5.895 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.292e-05/0.3654, allocations: 3.938 kB / 433.5 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.339e-05/0.3655, allocations: 7.922 kB / 433.5 MB, free: 5.883 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.3658, allocations: 23.98 kB / 433.6 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.3659, allocations: 27.92 kB / 433.6 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.366, allocations: 11.97 kB / 433.6 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.726e-05/0.3661, allocations: 11.94 kB / 433.6 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.803e-05/0.3661, allocations: 15.92 kB / 433.6 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.3661, allocations: 0 / 433.6 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.413e-05/0.3661, allocations: 4 kB / 433.6 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.321e-05/0.3662, allocations: 4 kB / 433.6 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.368e-05/0.3662, allocations: 15.88 kB / 433.6 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.3663, allocations: 37.42 kB / 433.7 MB, free: 5.734 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3663, allocations: 4 kB / 433.7 MB, free: 5.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.3663, allocations: 0 / 433.7 MB, free: 5.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.3664, allocations: 3.938 kB / 433.7 MB, free: 5.727 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.0007282/0.3671, allocations: 343.4 kB / 434 MB, free: 5.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.3671, allocations: 8.031 kB / 434 MB, free: 5.332 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.058e-05/0.3672, allocations: 8.891 kB / 434 MB, free: 5.324 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.3675, allocations: 172.4 kB / 434.2 MB, free: 5.117 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.922e-05/0.3675, allocations: 4.312 kB / 434.2 MB, free: 5.113 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.3675, allocations: 4.375 kB / 434.2 MB, free: 5.109 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004023/0.3679, allocations: 123.8 kB / 434.3 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.368, allocations: 8.125 kB / 434.3 MB, free: 4.969 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.368, allocations: 3.938 kB / 434.4 MB, free: 4.965 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.368, allocations: 0 / 434.4 MB, free: 4.965 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.3681, allocations: 23.98 kB / 434.4 MB, free: 4.941 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000256/0.3684, allocations: 157.7 kB / 434.5 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002492/0.3686, allocations: 58.48 kB / 434.6 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.3687, allocations: 28.91 kB / 434.6 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.3688, allocations: 4 kB / 434.6 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.115e-05/0.3688, allocations: 30.56 kB / 434.6 MB, free: 4.598 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.3688, allocations: 0 / 434.6 MB, free: 4.598 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004734/0.3693, allocations: 85.55 kB / 434.7 MB, free: 4.508 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.3694, allocations: 59.41 kB / 434.8 MB, free: 4.438 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.3695, allocations: 109.8 kB / 434.9 MB, free: 4.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.3696, allocations: 25.7 kB / 434.9 MB, free: 4.289 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.636e-05/0.3696, allocations: 80.14 kB / 435 MB, free: 4.207 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.3697, allocations: 11.98 kB / 435 MB, free: 4.195 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.781e-05/0.3697, allocations: 13.72 kB / 435 MB, free: 4.176 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003309/0.37, allocations: 314.8 kB / 435.3 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.086e-05/0.3701, allocations: 4 kB / 435.3 MB, free: 3.855 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.85e-05/0.3701, allocations: 35.42 kB / 435.4 MB, free: 3.809 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.355e-05/0.3702, allocations: 35.38 kB / 435.4 MB, free: 3.762 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3702, allocations: 0 / 435.4 MB, free: 3.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001393/0.3703, allocations: 69.58 kB / 435.5 MB, free: 3.688 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3704, allocations: 4 kB / 435.5 MB, free: 3.684 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.3704, allocations: 7.938 kB / 435.5 MB, free: 3.676 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.3704, allocations: 0 / 435.5 MB, free: 3.676 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.3705, allocations: 8 kB / 435.5 MB, free: 3.668 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.3705, allocations: 3.938 kB / 435.5 MB, free: 3.664 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.203e-05/0.3705, allocations: 3.984 kB / 435.5 MB, free: 3.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.3706, allocations: 4 kB / 435.5 MB, free: 3.656 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: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.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.0001382/0.3707, allocations: 129.8 kB / 435.6 MB, free: 3.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002136/0.3709, allocations: 61.62 kB / 435.7 MB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.679e-05/0.371, allocations: 15.84 kB / 435.7 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.371, allocations: 0 / 435.7 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.371, allocations: 0 / 435.7 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.371, allocations: 0 / 435.7 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002955/0.3713, allocations: 157.7 kB / 435.9 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.3713, allocations: 0 / 435.9 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.777e-05/0.3714, allocations: 12.31 kB / 435.9 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.3714, allocations: 0 / 435.9 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.3714, allocations: 11.92 kB / 435.9 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.3714, allocations: 4 kB / 435.9 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.3714, allocations: 4 kB / 435.9 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.3717, allocations: 85.11 kB / 436 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-05/0.3717, allocations: 81.06 kB / 436.1 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.3717, allocations: 3.938 kB / 436.1 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.975e-05/0.3718, allocations: 11.98 kB / 436.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-06/0.3718, allocations: 0 / 436.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.3718, allocations: 4 kB / 436.1 MB, free: 2.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.361e-05/0.3719, allocations: 83.28 kB / 436.2 MB, free: 2.898 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3719, allocations: 0 / 436.2 MB, free: 2.898 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000308/0.3722, allocations: 8 kB / 436.2 MB, free: 2.891 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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.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.0001556/0.3723, allocations: 99.23 kB / 436.3 MB, free: 2.781 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002075/0.3725, allocations: 28.2 kB / 436.3 MB, free: 2.754 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3725, allocations: 0 / 436.3 MB, free: 2.754 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.81e-07/0.3725, allocations: 8.25 kB / 436.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.3729, allocations: 30.66 kB / 436.3 MB, free: 2.719 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004686/0.3734, allocations: 129.6 kB / 436.5 MB, free: 2.566 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.3738, allocations: 0.6846 MB / 437.1 MB, free: 1.855 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.517e-05/0.3739, allocations: 4 kB / 437.1 MB, free: 1.852 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.919e-05/0.3739, allocations: 7.438 kB / 437.1 MB, free: 1.844 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3739, allocations: 0 / 437.1 MB, free: 1.844 MB / 334.1 MB Notification: Performance of Templates: time 0.004173/0.3781, allocations: 438.8 kB / 437.6 MB, free: 1.422 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.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.948324643075466]