Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.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.001294/0.001294, allocations: 82.28 kB / 20.68 MB, free: 1.035 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.001354/0.001354, allocations: 151.5 kB / 23.94 MB, free: 4.176 MB / 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.422/1.422, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.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.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 318.9 MB, free: 3.57 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.737e-05/2.911e-05, allocations: 10.22 kB / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.003211/0.00324, allocations: 1.418 MB / 320.3 MB, free: 2.594 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002586/0.003499, allocations: 29.62 kB / 320.4 MB, free: 2.574 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.008e-05/0.003589, allocations: 5.469 kB / 320.4 MB, free: 2.57 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.805e-05/0.003627, allocations: 4.609 kB / 320.4 MB, free: 2.566 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.245e-05/0.003679, allocations: 3.938 kB / 320.4 MB, free: 2.562 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003812/0.00406, allocations: 28.19 kB / 320.4 MB, free: 2.547 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.004185, allocations: 30.09 kB / 320.4 MB, free: 2.531 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.004327, allocations: 5.984 kB / 320.4 MB, free: 2.531 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.226e-05/0.00441, allocations: 16.83 kB / 320.5 MB, free: 2.523 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.754e-05/0.004477, allocations: 6.328 kB / 320.5 MB, free: 2.523 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.904e-05/0.004506, allocations: 6.188 kB / 320.5 MB, free: 2.52 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.481e-05/0.004521, allocations: 3.125 kB / 320.5 MB, free: 2.52 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.082e-05/0.004552, allocations: 9.688 kB / 320.5 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.682e-05/0.004599, allocations: 8.328 kB / 320.5 MB, free: 2.508 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.004737, allocations: 43.97 kB / 320.5 MB, free: 2.484 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.004741, allocations: 0 / 320.5 MB, free: 2.484 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.004742, allocations: 0 / 320.5 MB, free: 2.484 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.004746, allocations: 0 / 320.5 MB, free: 2.484 MB / 286.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.0004672/0.005213, allocations: 268.8 kB / 320.8 MB, free: 2.211 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.005263, allocations: 14.05 kB / 320.8 MB, free: 2.207 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.96e-05/0.005312, allocations: 3.125 kB / 320.8 MB, free: 2.207 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.005555, allocations: 119 kB / 320.9 MB, free: 2.074 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.005584, allocations: 2.719 kB / 320.9 MB, free: 2.074 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.005599, allocations: 3 kB / 320.9 MB, free: 2.074 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005442/0.006144, allocations: 121 kB / 321.1 MB, free: 2.004 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.006156, allocations: 192 / 321.1 MB, free: 2.004 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.00617, allocations: 5.781 kB / 321.1 MB, free: 2 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.006177, allocations: 384 / 321.1 MB, free: 2 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001956/0.006372, allocations: 33.78 kB / 321.1 MB, free: 1.988 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001338/0.006506, allocations: 108 kB / 321.2 MB, free: 1.859 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000261/0.006767, allocations: 52.58 kB / 321.3 MB, free: 1.828 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.006899, allocations: 30.47 kB / 321.3 MB, free: 1.812 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.006917, allocations: 4 kB / 321.3 MB, free: 1.809 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.006944, allocations: 33.47 kB / 321.3 MB, free: 1.77 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.793e-06/0.006946, allocations: 0 / 321.3 MB, free: 1.77 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004488/0.007395, allocations: 84.81 kB / 321.4 MB, free: 1.723 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.007456, allocations: 54.5 kB / 321.5 MB, free: 1.66 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.693e-05/0.007532, allocations: 107.8 kB / 321.6 MB, free: 1.555 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.007545, allocations: 30.58 kB / 321.6 MB, free: 1.52 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.059e-05/0.007576, allocations: 84.56 kB / 321.7 MB, free: 1.438 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.211e-05/0.007588, allocations: 1.062 kB / 321.7 MB, free: 1.438 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/0.007627, allocations: 16.47 kB / 321.7 MB, free: 1.418 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.049e-05/0.007677, allocations: 312.1 kB / 322 MB, free: 1.105 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.593e-05/0.007693, allocations: 6.062 kB / 322 MB, free: 1.102 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.212e-05/0.007705, allocations: 3.219 kB / 322 MB, free: 1.102 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.383e-05/0.007739, allocations: 12.27 kB / 322 MB, free: 1.09 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.007742, allocations: 1.469 kB / 322 MB, free: 1.09 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.394e-05/0.007826, allocations: 43.08 kB / 322.1 MB, free: 1.051 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.007846, allocations: 5.531 kB / 322.1 MB, free: 1.051 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.007852, allocations: 0 / 322.1 MB, free: 1.051 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.00787, allocations: 1.312 kB / 322.1 MB, free: 1.051 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.674e-05/0.007947, allocations: 3.328 kB / 322.1 MB, free: 1.051 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.007953, allocations: 4 kB / 322.1 MB, free: 1.047 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.326e-05/0.007976, allocations: 9.828 kB / 322.1 MB, free: 1.039 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.007983, allocations: 5.047 kB / 322.1 MB, free: 1.035 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.814e-05/0.008051, allocations: 113 kB / 322.2 MB, free: 0.918 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002285/0.00828, allocations: 67.58 kB / 322.3 MB, free: 0.875 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.079e-05/0.00831, allocations: 10.3 kB / 322.3 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.008313, allocations: 1.031 kB / 322.3 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.008318, allocations: 0 / 322.3 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.008324, allocations: 4.5 kB / 322.3 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.992e-05/0.008384, allocations: 111.5 kB / 322.4 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.008386, allocations: 6.375 kB / 322.4 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.008487, allocations: 8.875 kB / 322.4 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.00849, allocations: 1.125 kB / 322.4 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.008501, allocations: 1.75 kB / 322.4 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.008505, allocations: 4.656 kB / 322.4 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.008506, allocations: 0 / 322.4 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002727/0.008779, allocations: 96.83 kB / 322.5 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.171e-05/0.008791, allocations: 2.125 kB / 322.5 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.008815, allocations: 2.188 kB / 322.5 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.174e-05/0.008876, allocations: 8.234 kB / 322.5 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-06/0.00888, allocations: 4 kB / 322.5 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.966e-06/0.008889, allocations: 2.078 kB / 322.5 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.414e-05/0.008923, allocations: 84.56 kB / 322.6 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.008923, allocations: 1.281 kB / 322.6 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003312/0.009254, allocations: 3.031 kB / 322.6 MB, free: 0.5508 MB / 286.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.0001006/0.009355, allocations: 104.6 kB / 322.7 MB, free: 468 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001899/0.009545, allocations: 22.12 kB / 322.7 MB, free: 464 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.009548, allocations: 0 / 322.7 MB, free: 464 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.31e-07/0.009548, allocations: 0 / 322.7 MB, free: 464 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.009959, allocations: 35.97 kB / 322.8 MB, free: 452 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003546/0.01031, allocations: 118.5 kB / 322.9 MB, free: 332 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.053e-05/0.01037, allocations: 64.91 kB / 323 MB, free: 260 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.557e-05/0.0104, allocations: 1.406 kB / 323 MB, free: 260 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.875e-05/0.01044, allocations: 10.75 kB / 323 MB, free: 252 kB / 286.1 MB Notification: Performance of SimCode: time 4.21e-07/0.01044, allocations: 0 / 323 MB, free: 252 kB / 286.1 MB Notification: Performance of Templates: time 0.004392/0.01483, allocations: 446.7 kB / 323.4 MB, free: 172 kB / 286.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.128225959837437]