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.AssignClock.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.001384/0.001384, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001585/0.001585, allocations: 206.2 kB / 24.47 MB, free: 4.023 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.553/1.553, allocations: 230.4 MB / 258.1 MB, free: 8.133 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.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") [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.003009/0.003009, allocations: 71.81 kB / 378.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3335, allocations: 53.3 MB / 432 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002532/0.3361, allocations: 0.8712 MB / 432.9 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004139/0.3365, allocations: 115.7 kB / 433 MB, free: 6.422 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.702e-05/0.3366, allocations: 3.938 kB / 433 MB, free: 6.418 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.3367, allocations: 3.938 kB / 433 MB, free: 6.414 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001302/0.3368, allocations: 11.94 kB / 433 MB, free: 6.402 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.337, allocations: 39.89 kB / 433.1 MB, free: 6.363 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.3372, allocations: 43.84 kB / 433.1 MB, free: 6.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.3373, allocations: 19.97 kB / 433.1 MB, free: 6.301 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.356e-05/0.3373, allocations: 15.94 kB / 433.2 MB, free: 6.285 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.387e-05/0.3374, allocations: 23.86 kB / 433.2 MB, free: 6.262 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.3374, allocations: 4 kB / 433.2 MB, free: 6.258 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.242e-05/0.3374, allocations: 4 kB / 433.2 MB, free: 6.254 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.9e-05/0.3375, allocations: 15.98 kB / 433.2 MB, free: 6.238 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.158e-05/0.3375, allocations: 27.75 kB / 433.2 MB, free: 6.211 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.3376, allocations: 69.58 kB / 433.3 MB, free: 6.145 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3377, allocations: 0 / 433.3 MB, free: 6.145 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.121e-05/0.3377, allocations: 3.984 kB / 433.3 MB, free: 6.141 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.3377, allocations: 0 / 433.3 MB, free: 6.141 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005628/0.3382, allocations: 375.2 kB / 433.7 MB, free: 5.723 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.3383, allocations: 8.031 kB / 433.7 MB, free: 5.715 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.186e-05/0.3383, allocations: 12.84 kB / 433.7 MB, free: 5.703 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.3386, allocations: 199 kB / 433.9 MB, free: 5.473 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.3386, allocations: 12.25 kB / 433.9 MB, free: 5.461 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.3386, allocations: 8.375 kB / 433.9 MB, free: 5.453 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003288/0.3389, allocations: 135.8 kB / 434 MB, free: 5.309 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.339, allocations: 192 / 434 MB, free: 5.309 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.339, allocations: 11.94 kB / 434 MB, free: 5.297 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.339, allocations: 0 / 434 MB, free: 5.297 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.238e-05/0.339, allocations: 23.98 kB / 434.1 MB, free: 5.273 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002021/0.3392, allocations: 173.6 kB / 434.2 MB, free: 5.055 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.3394, allocations: 78.73 kB / 434.3 MB, free: 4.969 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.354e-05/0.3395, allocations: 44.78 kB / 434.4 MB, free: 4.922 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.3395, allocations: 0 / 434.4 MB, free: 4.922 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.3395, allocations: 30.56 kB / 434.4 MB, free: 4.883 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.3395, allocations: 0 / 434.4 MB, free: 4.883 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002252/0.3398, allocations: 105.5 kB / 434.5 MB, free: 4.773 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/0.3398, allocations: 55.56 kB / 434.5 MB, free: 4.707 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.34, allocations: 145.8 kB / 434.7 MB, free: 4.555 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.34, allocations: 25.7 kB / 434.7 MB, free: 4.523 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.5e-05/0.3401, allocations: 96.12 kB / 434.8 MB, free: 4.426 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.3401, allocations: 7.891 kB / 434.8 MB, free: 4.418 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.3401, allocations: 29.7 kB / 434.8 MB, free: 4.383 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.3403, allocations: 322.8 kB / 435.2 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.081e-05/0.3403, allocations: 4 kB / 435.2 MB, free: 4.055 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.281e-05/0.3404, allocations: 70.8 kB / 435.2 MB, free: 3.961 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.226e-05/0.3405, allocations: 66.81 kB / 435.3 MB, free: 3.871 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.3405, allocations: 4 kB / 435.3 MB, free: 3.867 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001475/0.3406, allocations: 93.44 kB / 435.4 MB, free: 3.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.3407, allocations: 12.19 kB / 435.4 MB, free: 3.758 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3407, allocations: 4 kB / 435.4 MB, free: 3.754 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.3407, allocations: 4 kB / 435.4 MB, free: 3.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.493e-05/0.3408, allocations: 15.94 kB / 435.4 MB, free: 3.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.3408, allocations: 8.297 kB / 435.4 MB, free: 3.727 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.22e-05/0.3408, allocations: 0 / 435.4 MB, free: 3.727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.3408, allocations: 4 kB / 435.4 MB, free: 3.723 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (sum.y,sum.u[2],sum.u[1],const.y,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.000121/0.3409, allocations: 129.8 kB / 435.6 MB, free: 3.586 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.3411, allocations: 89.48 kB / 435.7 MB, free: 3.492 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.894e-05/0.3411, allocations: 16.72 kB / 435.7 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3411, allocations: 0 / 435.7 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.3411, allocations: 0 / 435.7 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3411, allocations: 0 / 435.7 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.3413, allocations: 177.6 kB / 435.8 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3413, allocations: 0 / 435.8 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.102e-05/0.3413, allocations: 16 kB / 435.9 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.3413, allocations: 3.938 kB / 435.9 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.3413, allocations: 0 / 435.9 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3414, allocations: 3.984 kB / 435.9 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3414, allocations: 192 / 435.9 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/0.3415, allocations: 109 kB / 436 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.92e-05/0.3416, allocations: 101 kB / 436.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.3416, allocations: 11.88 kB / 436.1 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.392e-05/0.3416, allocations: 3.984 kB / 436.1 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.126e-06/0.3416, allocations: 0 / 436.1 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.3416, allocations: 4 kB / 436.1 MB, free: 2.969 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.524e-05/0.3417, allocations: 106.4 kB / 436.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3417, allocations: 0 / 436.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002077/0.3419, allocations: 16 kB / 436.2 MB, free: 2.852 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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001125/0.342, allocations: 99.23 kB / 436.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001363/0.3422, allocations: 51.91 kB / 436.4 MB, free: 2.695 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3422, allocations: 0 / 436.4 MB, free: 2.695 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.645e-06/0.3422, allocations: 3.938 kB / 436.4 MB, free: 2.691 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.3425, allocations: 40.5 kB / 436.4 MB, free: 2.652 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003263/0.3428, allocations: 189.3 kB / 436.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.3432, allocations: 0.6963 MB / 437.3 MB, free: 1.719 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.412e-05/0.3432, allocations: 4.672 kB / 437.3 MB, free: 1.711 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.686e-05/0.3432, allocations: 11.44 kB / 437.3 MB, free: 1.699 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3432, allocations: 0 / 437.3 MB, free: 1.699 MB / 334.1 MB Notification: Performance of Templates: time 0.003309/0.3465, allocations: 0.7168 MB / 438 MB, free: 0.9883 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.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.878123855218291]