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.00171/0.00171, allocations: 115.8 kB / 19.18 MB, free: 3.883 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.002148/0.002148, allocations: 208.9 kB / 22.13 MB, free: 0.9336 MB / 14.72 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 1.494/1.494, allocations: 230.2 MB / 255.1 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001888/0.001888, allocations: 67.89 kB / 374.5 MB, free: 9.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1024, allocations: 53.32 MB / 427.8 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.00234/0.1048, allocations: 0.8395 MB / 428.7 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003794/0.1052, allocations: 119.6 kB / 428.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.197e-05/0.1052, allocations: 7.938 kB / 428.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.1053, allocations: 7.938 kB / 428.8 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.1055, allocations: 7.922 kB / 428.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.1057, allocations: 35.91 kB / 428.8 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.1058, allocations: 43.84 kB / 428.9 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.1059, allocations: 23.98 kB / 428.9 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.456e-05/0.106, allocations: 11.94 kB / 428.9 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.856e-05/0.106, allocations: 23.86 kB / 429 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.1061, allocations: 4 kB / 429 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.371e-05/0.1061, allocations: 4 kB / 429 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.086e-05/0.1061, allocations: 23.91 kB / 429 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.098e-05/0.1062, allocations: 31.8 kB / 429 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.1063, allocations: 71.55 kB / 429.1 MB, free: 3.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1063, allocations: 0 / 429.1 MB, free: 3.242 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1063, allocations: 0 / 429.1 MB, free: 3.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.1063, allocations: 0 / 429.1 MB, free: 3.242 MB / 350.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.0005577/0.1069, allocations: 379 kB / 429.5 MB, free: 2.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.1069, allocations: 12.03 kB / 429.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.107, allocations: 12.84 kB / 429.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.1072, allocations: 192.3 kB / 429.7 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.1072, allocations: 8.375 kB / 429.7 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.1072, allocations: 8.312 kB / 429.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003068/0.1076, allocations: 143.8 kB / 429.8 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.1076, allocations: 4.125 kB / 429.8 MB, free: 2.398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.1076, allocations: 7.938 kB / 429.8 MB, free: 2.391 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.1076, allocations: 7.984 kB / 429.8 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.942e-05/0.1076, allocations: 16 kB / 429.9 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001961/0.1078, allocations: 177.6 kB / 430 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.108, allocations: 74.69 kB / 430.1 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.881e-05/0.1081, allocations: 32.84 kB / 430.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.1081, allocations: 8 kB / 430.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.1081, allocations: 30.56 kB / 430.2 MB, free: 1.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.1081, allocations: 0 / 430.2 MB, free: 1.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002421/0.1084, allocations: 113.6 kB / 430.3 MB, free: 1.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.5e-05/0.1084, allocations: 59.41 kB / 430.3 MB, free: 1.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.1086, allocations: 140 kB / 430.5 MB, free: 1.648 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.1086, allocations: 25.7 kB / 430.5 MB, free: 1.617 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.637e-05/0.1086, allocations: 88.14 kB / 430.6 MB, free: 1.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.1087, allocations: 15.94 kB / 430.6 MB, free: 1.512 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.194e-05/0.1087, allocations: 21.72 kB / 430.6 MB, free: 1.484 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1088, allocations: 318.8 kB / 430.9 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.408e-05/0.1089, allocations: 12 kB / 430.9 MB, free: 1.152 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.185e-05/0.1089, allocations: 58.8 kB / 431 MB, free: 1.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.619e-05/0.109, allocations: 74.81 kB / 431.1 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.109, allocations: 0 / 431.1 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001412/0.1092, allocations: 97.44 kB / 431.2 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.1092, allocations: 7.938 kB / 431.2 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1092, allocations: 4 kB / 431.2 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.1092, allocations: 192 / 431.2 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.627e-05/0.1093, allocations: 23.92 kB / 431.2 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.1093, allocations: 8.188 kB / 431.2 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.393e-05/0.1093, allocations: 4 kB / 431.2 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.1093, allocations: 4 kB / 431.2 MB, free: 0.8203 MB / 350.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.0001055/0.1094, allocations: 125.8 kB / 431.3 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.1096, allocations: 89.5 kB / 431.4 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.906e-05/0.1096, allocations: 12.72 kB / 431.4 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1096, allocations: 4 kB / 431.5 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.1096, allocations: 0 / 431.5 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1096, allocations: 4 kB / 431.5 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.1098, allocations: 173.6 kB / 431.6 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1098, allocations: 0 / 431.6 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.181e-05/0.1098, allocations: 12 kB / 431.6 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.1098, allocations: 7.922 kB / 431.6 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.1098, allocations: 4 kB / 431.6 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1098, allocations: 0 / 431.6 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.1098, allocations: 4 kB / 431.7 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/0.11, allocations: 109 kB / 431.8 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.485e-05/0.1101, allocations: 101 kB / 431.9 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.1101, allocations: 11.92 kB / 431.9 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.422e-05/0.1101, allocations: 4 kB / 431.9 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-06/0.1101, allocations: 0 / 431.9 MB, free: 68 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.1101, allocations: 4 kB / 431.9 MB, free: 64 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.1102, allocations: 103.3 kB / 432 MB, free: 15.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1102, allocations: 0 / 432 MB, free: 15.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002055/0.1104, allocations: 8 kB / 432 MB, free: 15.95 MB / 366.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.0001217/0.1106, allocations: 107.2 kB / 432.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001391/0.1107, allocations: 43.92 kB / 432.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1107, allocations: 0 / 432.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.32e-07/0.1107, allocations: 0 / 432.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.111, allocations: 54.67 kB / 432.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003532/0.1114, allocations: 199.5 kB / 432.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.1117, allocations: 0.7041 MB / 433.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.945e-05/0.1117, allocations: 11.44 kB / 433.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1117, allocations: 0 / 433.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of Templates: time 0.002809/0.1145, allocations: 0.8875 MB / 434 MB, free: 13.89 MB / 366.1 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/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_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: 6.709469522116706]