Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0008062/0.0008062, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003477/0.003477, allocations: 158 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8652/0.8652, allocations: 177 MB / 204.9 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.063e-05/2.224e-05, allocations: 3.266 kB / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.001395/0.001418, allocations: 0.8568 MB / 326.6 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002823/0.0017, allocations: 123.5 kB / 326.8 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.031e-05/0.00178, allocations: 4 kB / 326.8 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.349e-05/0.001874, allocations: 15.86 kB / 326.8 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.001985, allocations: 3.938 kB / 326.8 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001614/0.002146, allocations: 39.83 kB / 326.8 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.175e-05/0.002238, allocations: 39.86 kB / 326.9 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.466e-05/0.002333, allocations: 15.98 kB / 326.9 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.936e-05/0.002372, allocations: 27.95 kB / 326.9 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.768e-05/0.00244, allocations: 15.92 kB / 326.9 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.002464, allocations: 8 kB / 326.9 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.003e-05/0.002474, allocations: 4 kB / 326.9 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.343e-05/0.002517, allocations: 15.94 kB / 326.9 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.141e-05/0.002548, allocations: 15.92 kB / 327 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.00265, allocations: 59.72 kB / 327 MB, free: 14.15 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.002652, allocations: 0 / 327 MB, free: 14.15 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.002653, allocations: 0 / 327 MB, free: 14.15 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.002657, allocations: 4 kB / 327 MB, free: 14.14 MB / 298.7 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.0003491/0.003006, allocations: 302 kB / 327.3 MB, free: 13.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.003039, allocations: 11.98 kB / 327.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.855e-05/0.003068, allocations: 16.84 kB / 327.3 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.003215, allocations: 133.7 kB / 327.5 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-06/0.003223, allocations: 384 / 327.5 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.003234, allocations: 12.31 kB / 327.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.003447, allocations: 139.8 kB / 327.6 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.003454, allocations: 4.125 kB / 327.6 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.003463, allocations: 4.375 kB / 327.6 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.003469, allocations: 12.36 kB / 327.6 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.921e-05/0.003509, allocations: 19.94 kB / 327.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.506e-05/0.003604, allocations: 121.3 kB / 327.8 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.003717, allocations: 70.69 kB / 327.8 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.478e-05/0.003762, allocations: 36.84 kB / 327.9 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.003771, allocations: 4 kB / 327.9 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/0.003788, allocations: 30.56 kB / 327.9 MB, free: 13.12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 8.21e-07/0.003789, allocations: 0 / 327.9 MB, free: 13.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001612/0.00395, allocations: 105.9 kB / 328 MB, free: 13.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.003993, allocations: 59.48 kB / 328.1 MB, free: 12.95 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.925e-05/0.004072, allocations: 148.9 kB / 328.2 MB, free: 12.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.606e-06/0.00408, allocations: 25.7 kB / 328.2 MB, free: 12.76 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.181e-05/0.004112, allocations: 88.14 kB / 328.3 MB, free: 12.67 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.105e-05/0.004123, allocations: 3.953 kB / 328.3 MB, free: 12.67 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.42e-05/0.004148, allocations: 17.72 kB / 328.4 MB, free: 12.64 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.555e-05/0.004223, allocations: 326.8 kB / 328.7 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.835e-06/0.004231, allocations: 0 / 328.7 MB, free: 12.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.781e-06/0.004237, allocations: 4 kB / 328.7 MB, free: 12.31 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.839e-05/0.004255, allocations: 8.859 kB / 328.7 MB, free: 12.3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.004257, allocations: 4 kB / 328.7 MB, free: 12.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.855e-05/0.004295, allocations: 49.64 kB / 328.7 MB, free: 12.24 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.004305, allocations: 4 kB / 328.7 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.00431, allocations: 3.984 kB / 328.7 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.948e-06/0.00432, allocations: 0 / 328.7 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.722e-05/0.004357, allocations: 4 kB / 328.8 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.004362, allocations: 3.938 kB / 328.8 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.438e-06/0.004372, allocations: 0 / 328.8 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-06/0.004376, allocations: 7.938 kB / 328.8 MB, free: 12.22 MB / 298.7 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.unitDelay1.u,unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * 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 5.961e-05/0.004436, allocations: 121.8 kB / 328.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.973e-05/0.004496, allocations: 85.61 kB / 329 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.324e-05/0.004519, allocations: 8.781 kB / 329 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.004522, allocations: 4 kB / 329 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.004524, allocations: 0 / 329 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.004529, allocations: 7.922 kB / 329 MB, free: 11.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.399e-05/0.004583, allocations: 117.2 kB / 329.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.004584, allocations: 0 / 329.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.226e-05/0.004626, allocations: 15.98 kB / 329.1 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.004628, allocations: 3.984 kB / 329.1 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.004634, allocations: 0 / 329.1 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-07/0.004635, allocations: 4 kB / 329.1 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.004635, allocations: 4 kB / 329.1 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.123e-05/0.004717, allocations: 112.9 kB / 329.2 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.209e-05/0.004749, allocations: 23.94 kB / 329.3 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.00476, allocations: 0 / 329.3 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.347e-06/0.004769, allocations: 0 / 329.3 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-06/0.004772, allocations: 3.984 kB / 329.3 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-06/0.004774, allocations: 4 kB / 329.3 MB, free: 11.65 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.218e-05/0.004817, allocations: 103.3 kB / 329.4 MB, free: 11.55 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004817, allocations: 0 / 329.4 MB, free: 11.55 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001188/0.004935, allocations: 15.94 kB / 329.4 MB, free: 11.53 MB / 298.7 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 6.565e-05/0.005001, allocations: 103.2 kB / 329.5 MB, free: 11.42 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.835e-05/0.005069, allocations: 24 kB / 329.5 MB, free: 11.39 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.005071, allocations: 0 / 329.5 MB, free: 11.39 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.005071, allocations: 0 / 329.5 MB, free: 11.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.005278, allocations: 51.86 kB / 329.6 MB, free: 11.34 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002278/0.005506, allocations: 210.4 kB / 329.8 MB, free: 11.1 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.719e-05/0.005563, allocations: 87.02 kB / 329.9 MB, free: 11 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.372e-05/0.005587, allocations: 20.56 kB / 329.9 MB, free: 10.98 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.005587, allocations: 0 / 329.9 MB, free: 10.98 MB / 298.7 MB Notification: Performance of Templates: time 0.001461/0.007048, allocations: 0.8223 MB / 330.7 MB, free: 10.16 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.046085731126368]