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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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=500,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=500,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002083/0.002083, allocations: 105.4 kB / 18.78 MB, free: 3.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003577/0.003577, allocations: 211.2 kB / 19.8 MB, free: 2.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.683/1.683, allocations: 230.4 MB / 251.1 MB, free: 8.484 MB / 206.1 MB 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.001983/0.001983, allocations: 63.83 kB / 368.9 MB, free: 6.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3328, allocations: 53.32 MB / 422.3 MB, free: 7.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.003208/0.336, allocations: 1.449 MB / 423.7 MB, free: 6.426 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002402/0.3362, allocations: 27.91 kB / 423.7 MB, free: 6.398 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.605e-05/0.3363, allocations: 4 kB / 423.7 MB, free: 6.395 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.2e-05/0.3363, allocations: 3.938 kB / 423.7 MB, free: 6.391 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.786e-05/0.3364, allocations: 3.938 kB / 423.7 MB, free: 6.387 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.3367, allocations: 23.97 kB / 423.8 MB, free: 6.363 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.3368, allocations: 27.86 kB / 423.8 MB, free: 6.336 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.3369, allocations: 11.98 kB / 423.8 MB, free: 6.324 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.498e-05/0.337, allocations: 11.98 kB / 423.8 MB, free: 6.312 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.146e-05/0.337, allocations: 15.92 kB / 423.8 MB, free: 6.297 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.337, allocations: 8 kB / 423.8 MB, free: 6.289 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.226e-05/0.3371, allocations: 4 kB / 423.8 MB, free: 6.285 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.3371, allocations: 3.938 kB / 423.9 MB, free: 6.281 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.667e-05/0.3371, allocations: 15.94 kB / 423.9 MB, free: 6.266 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.3372, allocations: 27.88 kB / 423.9 MB, free: 6.238 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.3372, allocations: 0 / 423.9 MB, free: 6.238 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3372, allocations: 4 kB / 423.9 MB, free: 6.234 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.3372, allocations: 0 / 423.9 MB, free: 6.234 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.0006179/0.3379, allocations: 346.9 kB / 424.2 MB, free: 5.848 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.3379, allocations: 16.03 kB / 424.3 MB, free: 5.832 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.113e-05/0.338, allocations: 4.891 kB / 424.3 MB, free: 5.828 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003109/0.3383, allocations: 172.4 kB / 424.4 MB, free: 5.621 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.3383, allocations: 8.25 kB / 424.4 MB, free: 5.613 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.3383, allocations: 8.375 kB / 424.4 MB, free: 5.605 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004013/0.3387, allocations: 115.8 kB / 424.6 MB, free: 5.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3387, allocations: 4.188 kB / 424.6 MB, free: 5.477 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.3387, allocations: 7.938 kB / 424.6 MB, free: 5.469 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.3387, allocations: 0 / 424.6 MB, free: 5.469 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001996/0.3389, allocations: 23.97 kB / 424.6 MB, free: 5.445 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002006/0.3391, allocations: 157.6 kB / 424.7 MB, free: 5.242 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.3393, allocations: 58.48 kB / 424.8 MB, free: 5.176 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.301e-05/0.3394, allocations: 24.92 kB / 424.8 MB, free: 5.148 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.3394, allocations: 0 / 424.8 MB, free: 5.148 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.3395, allocations: 34.56 kB / 424.9 MB, free: 5.105 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.3395, allocations: 0 / 424.9 MB, free: 5.105 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003292/0.3398, allocations: 85.55 kB / 424.9 MB, free: 5.016 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.167e-05/0.3399, allocations: 55.41 kB / 425 MB, free: 4.949 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.34, allocations: 109.8 kB / 425.1 MB, free: 4.832 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.34, allocations: 25.7 kB / 425.1 MB, free: 4.801 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.447e-05/0.3401, allocations: 84.14 kB / 425.2 MB, free: 4.715 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.3401, allocations: 7.984 kB / 425.2 MB, free: 4.707 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.3402, allocations: 17.72 kB / 425.2 MB, free: 4.684 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.3404, allocations: 318.8 kB / 425.5 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.743e-05/0.3404, allocations: 3.984 kB / 425.6 MB, free: 4.359 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.114e-05/0.3404, allocations: 31.44 kB / 425.6 MB, free: 4.316 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.373e-05/0.3405, allocations: 43.69 kB / 425.6 MB, free: 4.262 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3405, allocations: 0 / 425.6 MB, free: 4.262 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.727e-05/0.3406, allocations: 61.77 kB / 425.7 MB, free: 4.195 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3406, allocations: 4 kB / 425.7 MB, free: 4.191 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.3406, allocations: 7.938 kB / 425.7 MB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.3406, allocations: 4 kB / 425.7 MB, free: 4.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.799e-05/0.3407, allocations: 12.11 kB / 425.7 MB, free: 4.168 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.3407, allocations: 11.92 kB / 425.7 MB, free: 4.156 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.479e-05/0.3408, allocations: 4 kB / 425.7 MB, free: 4.152 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.3408, allocations: 4 kB / 425.7 MB, free: 4.148 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.0001248/0.3409, allocations: 109.8 kB / 425.8 MB, free: 4.031 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.3411, allocations: 65.62 kB / 425.9 MB, free: 3.961 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.705e-05/0.3411, allocations: 11.84 kB / 425.9 MB, free: 3.938 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3411, allocations: 0 / 425.9 MB, free: 3.938 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.3411, allocations: 4 kB / 425.9 MB, free: 3.934 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.3411, allocations: 7.938 kB / 425.9 MB, free: 3.926 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.3412, allocations: 157.7 kB / 426.1 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.3412, allocations: 0 / 426.1 MB, free: 3.723 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.331e-05/0.3413, allocations: 11.94 kB / 426.1 MB, free: 3.711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.3413, allocations: 3.984 kB / 426.1 MB, free: 3.707 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.3413, allocations: 3.938 kB / 426.1 MB, free: 3.703 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3413, allocations: 0 / 426.1 MB, free: 3.703 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3413, allocations: 0 / 426.1 MB, free: 3.703 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.3415, allocations: 89.11 kB / 426.2 MB, free: 3.598 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.264e-05/0.3416, allocations: 85.06 kB / 426.3 MB, free: 3.496 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.3416, allocations: 3.938 kB / 426.3 MB, free: 3.492 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.458e-05/0.3416, allocations: 7.984 kB / 426.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-06/0.3416, allocations: 0 / 426.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.3416, allocations: 0 / 426.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.031e-05/0.3417, allocations: 83.28 kB / 426.4 MB, free: 3.402 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3417, allocations: 0 / 426.4 MB, free: 3.402 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002004/0.3419, allocations: 4 kB / 426.4 MB, free: 3.398 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.000162/0.3421, allocations: 111.2 kB / 426.5 MB, free: 3.281 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001568/0.3422, allocations: 31.92 kB / 426.5 MB, free: 3.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3422, allocations: 0 / 426.5 MB, free: 3.25 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.31e-07/0.3422, allocations: 0 / 426.5 MB, free: 3.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.3425, allocations: 27.95 kB / 426.5 MB, free: 3.223 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/0.3428, allocations: 117.5 kB / 426.6 MB, free: 3.082 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.3432, allocations: 0.6848 MB / 427.3 MB, free: 2.371 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.406e-05/0.3432, allocations: 0 / 427.3 MB, free: 2.371 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.165e-05/0.3432, allocations: 11.44 kB / 427.3 MB, free: 2.359 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3432, allocations: 0 / 427.3 MB, free: 2.359 MB / 334.1 MB Notification: Performance of Templates: time 0.00323/0.3465, allocations: 451.7 kB / 427.8 MB, free: 1.93 MB / 334.1 MB 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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] Reference file matches