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.0008519/0.0008519, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001264/0.002116, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0008786/0.0008786, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001148/0.002026, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9899/0.9899, allocations: 177.5 MB / 190 MB, free: 4.785 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08755/1.077, allocations: 53.87 MB / 243.9 MB, free: 14.84 MB / 250.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 2.424e-06/2.424e-06, allocations: 4 kB / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.27e-05/2.513e-05, allocations: 5.406 kB / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002009/0.002034, allocations: 0.9236 MB / 246.1 MB, free: 12.63 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002429/0.002277, allocations: 128.2 kB / 246.2 MB, free: 12.51 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.224e-05/0.002339, allocations: 3.938 kB / 246.3 MB, free: 12.5 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.919e-05/0.002398, allocations: 7.922 kB / 246.3 MB, free: 12.5 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.311e-05/0.002461, allocations: 19.86 kB / 246.3 MB, free: 12.48 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001507/0.002612, allocations: 35.84 kB / 246.3 MB, free: 12.44 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.191e-05/0.002704, allocations: 39.91 kB / 246.4 MB, free: 12.4 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.447e-05/0.002789, allocations: 27.92 kB / 246.4 MB, free: 12.38 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.247e-05/0.002841, allocations: 19.97 kB / 246.4 MB, free: 12.36 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.625e-05/0.002907, allocations: 23.91 kB / 246.4 MB, free: 12.33 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.002928, allocations: 4 kB / 246.4 MB, free: 12.33 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.175e-05/0.00294, allocations: 4 kB / 246.4 MB, free: 12.32 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.389e-05/0.002974, allocations: 11.94 kB / 246.4 MB, free: 12.31 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.62e-05/0.003, allocations: 11.94 kB / 246.5 MB, free: 12.3 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.003102, allocations: 39.84 kB / 246.5 MB, free: 12.26 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.058e-05/0.003113, allocations: 0 / 246.5 MB, free: 12.26 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.003114, allocations: 0 / 246.5 MB, free: 12.26 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.003122, allocations: 0 / 246.5 MB, free: 12.26 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.005377/0.0085, allocations: 296.2 kB / 246.8 MB, free: 11.95 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.008531, allocations: 8.625 kB / 246.8 MB, free: 11.94 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.008565, allocations: 12.92 kB / 246.8 MB, free: 11.93 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.008728, allocations: 140.7 kB / 246.9 MB, free: 11.77 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.255e-06/0.008736, allocations: 4.375 kB / 246.9 MB, free: 11.76 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.008748, allocations: 4.375 kB / 247 MB, free: 11.76 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.008918, allocations: 118.6 kB / 247.1 MB, free: 11.63 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.008926, allocations: 4.125 kB / 247.1 MB, free: 11.62 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.061e-06/0.008932, allocations: 384 / 247.1 MB, free: 11.62 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.008937, allocations: 384 / 247.1 MB, free: 11.62 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.217e-05/0.008959, allocations: 18.75 kB / 247.1 MB, free: 11.61 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.554e-05/0.009024, allocations: 75.75 kB / 247.2 MB, free: 11.52 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.009138, allocations: 52.2 kB / 247.2 MB, free: 11.45 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.18e-05/0.00917, allocations: 20.84 kB / 247.2 MB, free: 11.43 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-06/0.009177, allocations: 4 kB / 247.2 MB, free: 11.43 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.009199, allocations: 38.56 kB / 247.3 MB, free: 11.38 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 2.094e-06/0.009201, allocations: 3.984 kB / 247.3 MB, free: 11.38 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001097/0.009311, allocations: 61.77 kB / 247.3 MB, free: 11.31 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.009353, allocations: 59.41 kB / 247.4 MB, free: 11.24 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.671e-05/0.009429, allocations: 130.7 kB / 247.5 MB, free: 11.1 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.368e-06/0.009439, allocations: 25.7 kB / 247.6 MB, free: 11.07 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.956e-05/0.009468, allocations: 92.11 kB / 247.6 MB, free: 10.97 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.669e-06/0.009478, allocations: 0 / 247.6 MB, free: 10.97 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.009515, allocations: 25.67 kB / 247.7 MB, free: 10.94 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.414e-05/0.009599, allocations: 322.8 kB / 248 MB, free: 10.62 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.356e-06/0.009607, allocations: 4 kB / 248 MB, free: 10.61 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.31e-06/0.009613, allocations: 0 / 248 MB, free: 10.61 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.16e-05/0.009634, allocations: 16.73 kB / 248 MB, free: 10.59 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.009637, allocations: 0 / 248 MB, free: 10.59 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.381e-05/0.009691, allocations: 37.69 kB / 248 MB, free: 10.55 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.009702, allocations: 4 kB / 248 MB, free: 10.55 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.009705, allocations: 0 / 248 MB, free: 10.55 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.009716, allocations: 4.094 kB / 248 MB, free: 10.54 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.939e-05/0.009755, allocations: 4 kB / 248.1 MB, free: 10.54 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.009757, allocations: 0 / 248.1 MB, free: 10.54 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.343e-05/0.009771, allocations: 4 kB / 248.1 MB, free: 10.54 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.009775, allocations: 0 / 248.1 MB, free: 10.54 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 6.989e-05/0.009845, allocations: 116.6 kB / 248.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.383e-05/0.009898, allocations: 57.61 kB / 248.2 MB, free: 10.35 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.163e-05/0.00993, allocations: 8.781 kB / 248.2 MB, free: 10.34 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.009933, allocations: 4 kB / 248.2 MB, free: 10.34 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.009935, allocations: 0 / 248.2 MB, free: 10.34 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.009938, allocations: 4 kB / 248.2 MB, free: 10.33 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.991e-05/0.01001, allocations: 81.81 kB / 248.3 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.01001, allocations: 0 / 248.3 MB, free: 10.23 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.893e-05/0.01007, allocations: 15.98 kB / 248.3 MB, free: 10.22 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.406e-05/0.0101, allocations: 11.95 kB / 248.3 MB, free: 10.21 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.0101, allocations: 0 / 248.3 MB, free: 10.21 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.499e-06/0.01011, allocations: 0 / 248.3 MB, free: 10.21 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.01011, allocations: 0 / 248.3 MB, free: 10.21 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.01011, allocations: 0 / 248.3 MB, free: 10.21 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.37e-05/0.01017, allocations: 67.83 kB / 248.4 MB, free: 10.12 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.01018, allocations: 4 kB / 248.4 MB, free: 10.12 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.393e-05/0.0102, allocations: 4 kB / 248.4 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-06/0.0102, allocations: 0 / 248.4 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.01021, allocations: 8 kB / 248.4 MB, free: 10.11 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.18e-05/0.01024, allocations: 27.64 kB / 248.5 MB, free: 10.08 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01024, allocations: 0 / 248.5 MB, free: 10.08 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001381/0.01038, allocations: 8 kB / 248.5 MB, free: 10.07 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.0001126/0.01049, allocations: 84.34 kB / 248.5 MB, free: 9.98 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.162e-05/0.01055, allocations: 16.86 kB / 248.6 MB, free: 9.961 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.01055, allocations: 4.094 kB / 248.6 MB, free: 9.957 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.01055, allocations: 4 kB / 248.6 MB, free: 9.953 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.01076, allocations: 130.3 kB / 248.7 MB, free: 9.805 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003267/0.01403, allocations: 165.5 kB / 248.9 MB, free: 9.617 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.981e-05/0.01407, allocations: 71.33 kB / 248.9 MB, free: 9.527 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.879e-05/0.01409, allocations: 0 / 248.9 MB, free: 9.527 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.075e-05/0.01415, allocations: 55.38 kB / 249 MB, free: 9.473 MB / 250.7 MB Notification: Performance of SimCode: time 1.132e-06/0.01415, allocations: 0 / 249 MB, free: 9.473 MB / 250.7 MB Notification: Performance of Templates: time 0.002536/0.01668, allocations: 0.775 MB / 249.8 MB, free: 8.719 MB / 250.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.3994628563523293]