Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008949/0.0008949, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008734/0.0008734, allocations: 140.6 kB / 24.89 MB, free: 8.777 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8928/0.8928, allocations: 173.4 MB / 201.5 MB, free: 8.281 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 268.5 MB, free: 9.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.325e-05/1.464e-05, allocations: 2.312 kB / 268.5 MB, free: 9.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.001816/0.00183, allocations: 0.8753 MB / 269.3 MB, free: 8.934 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004199/0.00225, allocations: 132 kB / 269.5 MB, free: 8.805 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.55e-05/0.002336, allocations: 5.156 kB / 269.5 MB, free: 8.801 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.002444, allocations: 3.938 kB / 269.5 MB, free: 8.797 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001244/0.002568, allocations: 19.91 kB / 269.5 MB, free: 8.777 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002079/0.002776, allocations: 32.41 kB / 269.5 MB, free: 8.746 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.002887, allocations: 43.84 kB / 269.6 MB, free: 8.703 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.857e-05/0.002986, allocations: 16.52 kB / 269.6 MB, free: 8.688 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.977e-05/0.003036, allocations: 33.91 kB / 269.6 MB, free: 8.656 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.79e-05/0.003113, allocations: 11.92 kB / 269.6 MB, free: 8.645 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.003138, allocations: 4 kB / 269.6 MB, free: 8.641 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.119e-05/0.003149, allocations: 4 kB / 269.6 MB, free: 8.637 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.067e-05/0.003189, allocations: 15.92 kB / 269.7 MB, free: 8.621 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.891e-05/0.003218, allocations: 13.78 kB / 269.7 MB, free: 8.609 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.003342, allocations: 43.77 kB / 269.7 MB, free: 8.566 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.003345, allocations: 0 / 269.7 MB, free: 8.566 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.003347, allocations: 0 / 269.7 MB, free: 8.566 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.003351, allocations: 0 / 269.7 MB, free: 8.566 MB / 250.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.0003499/0.0037, allocations: 281.3 kB / 270 MB, free: 8.266 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.003738, allocations: 8.031 kB / 270 MB, free: 8.258 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.301e-05/0.003771, allocations: 9.688 kB / 270 MB, free: 8.25 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.003941, allocations: 152.2 kB / 270.2 MB, free: 8.078 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.003952, allocations: 4.375 kB / 270.2 MB, free: 8.074 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.003964, allocations: 5.094 kB / 270.2 MB, free: 8.07 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.004145, allocations: 121.1 kB / 270.3 MB, free: 7.941 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.004151, allocations: 192 / 270.3 MB, free: 7.941 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.054e-06/0.004158, allocations: 384 / 270.3 MB, free: 7.941 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.004164, allocations: 384 / 270.3 MB, free: 7.941 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.096e-05/0.004184, allocations: 14.77 kB / 270.3 MB, free: 7.926 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.328e-05/0.004258, allocations: 64.47 kB / 270.4 MB, free: 7.848 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.004376, allocations: 49.86 kB / 270.4 MB, free: 7.789 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.345e-05/0.004409, allocations: 24.84 kB / 270.4 MB, free: 7.762 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.624e-06/0.004417, allocations: 160 / 270.4 MB, free: 7.762 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.004448, allocations: 42.48 kB / 270.5 MB, free: 7.711 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 9.02e-07/0.004449, allocations: 0.9375 kB / 270.5 MB, free: 7.711 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001295/0.004578, allocations: 61.61 kB / 270.5 MB, free: 7.645 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.004637, allocations: 59.91 kB / 270.6 MB, free: 7.574 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.553e-05/0.004723, allocations: 138.6 kB / 270.7 MB, free: 7.426 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.004735, allocations: 29.7 kB / 270.8 MB, free: 7.391 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.632e-05/0.004762, allocations: 84.12 kB / 270.8 MB, free: 7.305 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.758e-06/0.004771, allocations: 4 kB / 270.8 MB, free: 7.301 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/0.004803, allocations: 17.7 kB / 270.9 MB, free: 7.277 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.922e-05/0.004892, allocations: 318.8 kB / 271.2 MB, free: 6.957 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.194e-06/0.0049, allocations: 4 kB / 271.2 MB, free: 6.953 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.2e-06/0.004905, allocations: 0 / 271.2 MB, free: 6.953 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.085e-05/0.004926, allocations: 12.8 kB / 271.2 MB, free: 6.938 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.004927, allocations: 0 / 271.2 MB, free: 6.938 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.44e-05/0.004982, allocations: 41.75 kB / 271.2 MB, free: 6.891 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.004995, allocations: 6.344 kB / 271.2 MB, free: 6.887 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.004999, allocations: 0 / 271.2 MB, free: 6.887 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.00501, allocations: 0 / 271.2 MB, free: 6.887 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.794e-05/0.005058, allocations: 4 kB / 271.2 MB, free: 6.883 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.005061, allocations: 0 / 271.2 MB, free: 6.883 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.483e-05/0.005076, allocations: 0 / 271.2 MB, free: 6.883 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-06/0.005081, allocations: 0 / 271.2 MB, free: 6.883 MB / 250.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 7.725e-05/0.005158, allocations: 124.6 kB / 271.4 MB, free: 6.75 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.247e-05/0.00522, allocations: 57.92 kB / 271.4 MB, free: 6.688 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.517e-05/0.005256, allocations: 12.81 kB / 271.4 MB, free: 6.672 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.005259, allocations: 4 kB / 271.4 MB, free: 6.668 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.005261, allocations: 0 / 271.4 MB, free: 6.668 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.005265, allocations: 3.984 kB / 271.4 MB, free: 6.664 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.757e-05/0.005343, allocations: 81.78 kB / 271.5 MB, free: 6.566 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.005344, allocations: 0 / 271.5 MB, free: 6.566 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.926e-05/0.005404, allocations: 11.98 kB / 271.5 MB, free: 6.555 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.005407, allocations: 7.938 kB / 271.5 MB, free: 6.547 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.005421, allocations: 7.984 kB / 271.5 MB, free: 6.539 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.005422, allocations: 0 / 271.5 MB, free: 6.539 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.005423, allocations: 0 / 271.5 MB, free: 6.539 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.267e-05/0.005476, allocations: 67.83 kB / 271.6 MB, free: 6.453 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.933e-05/0.005515, allocations: 19.89 kB / 271.6 MB, free: 6.434 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.005533, allocations: 0 / 271.6 MB, free: 6.434 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.704e-05/0.00555, allocations: 4 kB / 271.6 MB, free: 6.43 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-06/0.005553, allocations: 0 / 271.6 MB, free: 6.43 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.005559, allocations: 3.984 kB / 271.6 MB, free: 6.426 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.234e-05/0.005591, allocations: 28.83 kB / 271.7 MB, free: 6.395 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005591, allocations: 0 / 271.7 MB, free: 6.395 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001771/0.005768, allocations: 4 kB / 271.7 MB, free: 6.391 MB / 250.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 0.00012/0.005888, allocations: 84.42 kB / 271.8 MB, free: 6.301 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.719e-05/0.005965, allocations: 28.78 kB / 271.8 MB, free: 6.27 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.005969, allocations: 0 / 271.8 MB, free: 6.27 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.9e-07/0.005969, allocations: 0 / 271.8 MB, free: 6.27 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.006171, allocations: 40.41 kB / 271.8 MB, free: 6.23 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002782/0.006449, allocations: 161.6 kB / 272 MB, free: 6.047 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.445e-05/0.006494, allocations: 63.34 kB / 272 MB, free: 5.965 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.235e-05/0.006516, allocations: 3.984 kB / 272 MB, free: 5.961 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.054e-05/0.006577, allocations: 55.38 kB / 272.1 MB, free: 5.906 MB / 250.7 MB Notification: Performance of SimCode: time 8.92e-07/0.006577, allocations: 4.062 kB / 272.1 MB, free: 5.902 MB / 250.7 MB Notification: Performance of Templates: time 0.00285/0.009427, allocations: 0.7473 MB / 272.9 MB, free: 5.172 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.456390126142651]