Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 112.5 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001918/0.001918, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.562/1.562, allocations: 230.6 MB / 254.8 MB, free: 15.09 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 47.94 kB / 374.1 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1167, allocations: 53.33 MB / 427.5 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002633/0.1193, allocations: 0.8438 MB / 428.3 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005282/0.1199, allocations: 119.6 kB / 428.4 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.12, allocations: 11.94 kB / 428.4 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.1201, allocations: 3.938 kB / 428.5 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.1202, allocations: 7.922 kB / 428.5 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.1205, allocations: 47.78 kB / 428.5 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.1206, allocations: 35.91 kB / 428.5 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.1207, allocations: 23.98 kB / 428.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.1209, allocations: 15.94 kB / 428.6 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.551e-05/0.121, allocations: 23.84 kB / 428.6 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.121, allocations: 4 kB / 428.6 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.32e-05/0.121, allocations: 4 kB / 428.6 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.716e-05/0.1211, allocations: 19.94 kB / 428.6 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.543e-05/0.1212, allocations: 31.78 kB / 428.7 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.1213, allocations: 63.62 kB / 428.7 MB, free: 3.035 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1213, allocations: 0 / 428.7 MB, free: 3.035 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1213, allocations: 0 / 428.7 MB, free: 3.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1213, allocations: 0 / 428.7 MB, free: 3.035 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.0006258/0.1219, allocations: 387 kB / 429.1 MB, free: 2.605 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.122, allocations: 8.031 kB / 429.1 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.537e-05/0.122, allocations: 12.84 kB / 429.1 MB, free: 2.586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.1223, allocations: 190.5 kB / 429.3 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.1223, allocations: 8.375 kB / 429.3 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.1223, allocations: 8.312 kB / 429.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003476/0.1227, allocations: 143.7 kB / 429.5 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1227, allocations: 4.188 kB / 429.5 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.1227, allocations: 11.92 kB / 429.5 MB, free: 2.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.1227, allocations: 4 kB / 429.5 MB, free: 2.176 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.657e-05/0.1228, allocations: 19.98 kB / 429.5 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002159/0.123, allocations: 173.6 kB / 429.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.1232, allocations: 74.64 kB / 429.7 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.283e-05/0.1232, allocations: 36.89 kB / 429.8 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.1233, allocations: 4 kB / 429.8 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.1233, allocations: 34.56 kB / 429.8 MB, free: 1.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.173e-06/0.1233, allocations: 0 / 429.8 MB, free: 1.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002426/0.1235, allocations: 105.6 kB / 429.9 MB, free: 1.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.924e-05/0.1236, allocations: 63.7 kB / 430 MB, free: 1.586 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.1237, allocations: 133.8 kB / 430.1 MB, free: 1.445 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.1238, allocations: 25.7 kB / 430.1 MB, free: 1.414 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.387e-05/0.1238, allocations: 88.14 kB / 430.2 MB, free: 1.324 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.1238, allocations: 15.94 kB / 430.2 MB, free: 1.309 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-05/0.1239, allocations: 21.72 kB / 430.3 MB, free: 1.281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.124, allocations: 326.8 kB / 430.6 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.466e-05/0.1241, allocations: 8 kB / 430.6 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.684e-05/0.1241, allocations: 62.8 kB / 430.7 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.805e-05/0.1242, allocations: 70.81 kB / 430.7 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.1242, allocations: 7.984 kB / 430.7 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001445/0.1244, allocations: 89.45 kB / 430.8 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.1244, allocations: 14.44 kB / 430.8 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1244, allocations: 0 / 430.8 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.1244, allocations: 4 kB / 430.8 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.858e-05/0.1245, allocations: 19.92 kB / 430.9 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.1245, allocations: 12.23 kB / 430.9 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.319e-05/0.1246, allocations: 0 / 430.9 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-06/0.1246, allocations: 7.938 kB / 430.9 MB, free: 0.6094 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.0001258/0.1247, allocations: 129.8 kB / 431 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.1248, allocations: 81.52 kB / 431.1 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.637e-05/0.1249, allocations: 16.72 kB / 431.1 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1249, allocations: 0 / 431.1 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1249, allocations: 0 / 431.1 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.1249, allocations: 7.984 kB / 431.1 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.125, allocations: 173.6 kB / 431.3 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.125, allocations: 0 / 431.3 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.505e-05/0.1251, allocations: 15.98 kB / 431.3 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.1251, allocations: 3.938 kB / 431.3 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.1251, allocations: 0 / 431.3 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1251, allocations: 0 / 431.3 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1251, allocations: 0 / 431.3 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/0.1253, allocations: 113.1 kB / 431.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.135e-05/0.1254, allocations: 105 kB / 431.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.1254, allocations: 7.938 kB / 431.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.517e-05/0.1254, allocations: 4 kB / 431.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-06/0.1254, allocations: 0 / 431.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.1254, allocations: 4 kB / 431.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.244e-05/0.1255, allocations: 107.2 kB / 431.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1255, allocations: 0 / 431.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002048/0.1257, allocations: 8 kB / 431.6 MB, free: 15.74 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.0001378/0.1258, allocations: 107.8 kB / 431.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001399/0.126, allocations: 40.11 kB / 431.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.126, allocations: 0 / 431.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.31e-07/0.126, allocations: 3.938 kB / 431.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.1263, allocations: 51.92 kB / 431.8 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003989/0.1267, allocations: 202.9 kB / 432 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.1271, allocations: 0.7046 MB / 432.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.27e-05/0.1271, allocations: 11.44 kB / 432.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1271, allocations: 0 / 432.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of Templates: time 0.002691/0.1298, allocations: 0.8884 MB / 433.6 MB, free: 13.68 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.9855472370109055]