Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.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.001374/0.001374, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001568/0.001568, allocations: 170 kB / 24.82 MB, free: 9.254 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 1.041/1.041, allocations: 177 MB / 205.1 MB, free: 5.496 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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 273.3 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.099e-05, allocations: 6.312 kB / 273.3 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002005/0.002026, allocations: 1.485 MB / 274.8 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001492/0.002175, allocations: 27.91 kB / 274.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.436e-05/0.00224, allocations: 7.938 kB / 274.8 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.186e-05/0.002261, allocations: 0 / 274.8 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.016e-05/0.002292, allocations: 7.938 kB / 274.8 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001748/0.002466, allocations: 27.91 kB / 274.9 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.801e-05/0.002524, allocations: 27.92 kB / 274.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.711e-05/0.002591, allocations: 7.984 kB / 274.9 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.553e-05/0.002637, allocations: 19.92 kB / 274.9 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.767e-05/0.002665, allocations: 7.984 kB / 274.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.002679, allocations: 0 / 274.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.921e-06/0.002684, allocations: 4 kB / 274.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.0027, allocations: 11.92 kB / 275 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.674e-05/0.002716, allocations: 8 kB / 275 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 6.509e-05/0.002781, allocations: 23.97 kB / 275 MB, free: 15.58 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.002783, allocations: 0 / 275 MB, free: 15.58 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.002783, allocations: 0 / 275 MB, free: 15.58 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.355e-06/0.002786, allocations: 7.875 kB / 275 MB, free: 15.57 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002509/0.003037, allocations: 364.6 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.003069, allocations: 15.98 kB / 275.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.202e-05/0.003091, allocations: 12.89 kB / 275.4 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.944e-05/0.003191, allocations: 120.6 kB / 275.5 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.003202, allocations: 384 / 275.5 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-06/0.003209, allocations: 8.375 kB / 275.5 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.003347, allocations: 102.2 kB / 275.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.388e-06/0.003352, allocations: 192 / 275.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.618e-06/0.003356, allocations: 384 / 275.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.347e-06/0.00336, allocations: 384 / 275.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.578e-05/0.003375, allocations: 11.88 kB / 275.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.099e-05/0.003446, allocations: 105.1 kB / 275.7 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.025e-05/0.003497, allocations: 47.03 kB / 275.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.709e-05/0.003514, allocations: 11.72 kB / 275.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.174e-06/0.003521, allocations: 7.984 kB / 275.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.657e-05/0.003537, allocations: 37.39 kB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.003538, allocations: 0 / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 8.841e-05/0.003627, allocations: 49.67 kB / 275.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.00366, allocations: 55.41 kB / 275.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.975e-05/0.00372, allocations: 169.9 kB / 276.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.00373, allocations: 29.7 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.862e-05/0.003768, allocations: 126.9 kB / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.538e-06/0.003778, allocations: 3.984 kB / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.378e-05/0.003801, allocations: 23.36 kB / 276.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.003919, allocations: 500 kB / 276.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.51e-06/0.003924, allocations: 8 kB / 276.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.779e-06/0.003929, allocations: 0 / 276.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.988e-05/0.003949, allocations: 15.62 kB / 276.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.00395, allocations: 0 / 276.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.448e-05/0.003995, allocations: 45.64 kB / 276.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.004006, allocations: 7.125 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.00401, allocations: 0 / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.185e-06/0.004018, allocations: 4 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.232e-05/0.00405, allocations: 0 / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-06/0.004053, allocations: 4.094 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.386e-06/0.004061, allocations: 4 kB / 276.8 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-06/0.004064, allocations: 3.938 kB / 276.8 MB, free: 13.51 MB / 266.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.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.717e-05/0.004121, allocations: 152.6 kB / 277 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/0.00416, allocations: 49.62 kB / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.651e-05/0.004176, allocations: 4 kB / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.004177, allocations: 0 / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-06/0.004178, allocations: 4 kB / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.00418, allocations: 0 / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.274e-05/0.004233, allocations: 109.1 kB / 277.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.004234, allocations: 0 / 277.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.85e-05/0.004262, allocations: 8 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.31e-07/0.004263, allocations: 0 / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.004272, allocations: 7.984 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.004273, allocations: 0 / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.004274, allocations: 0 / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.131e-05/0.004315, allocations: 76.31 kB / 277.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-06/0.004321, allocations: 0 / 277.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.298e-06/0.00433, allocations: 4 kB / 277.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.257e-05/0.004343, allocations: 7.984 kB / 277.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.924e-06/0.004345, allocations: 0 / 277.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.004348, allocations: 4.25 kB / 277.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.223e-05/0.00438, allocations: 135.1 kB / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00438, allocations: 0 / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001097/0.00449, allocations: 4 kB / 277.4 MB, free: 12.89 MB / 266.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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.681e-05/0.004557, allocations: 91.25 kB / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.876e-05/0.004606, allocations: 19.67 kB / 277.5 MB, free: 12.76 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.004607, allocations: 0 / 277.5 MB, free: 12.76 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.004607, allocations: 0 / 277.5 MB, free: 12.76 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.004763, allocations: 28.23 kB / 277.5 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001731/0.004936, allocations: 124.9 kB / 277.7 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.859e-05/0.004965, allocations: 59.36 kB / 277.7 MB, free: 12.51 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.361e-05/0.004978, allocations: 3.984 kB / 277.7 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.563e-05/0.005014, allocations: 70.2 kB / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.005014, allocations: 0 / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of Templates: time 0.001675/0.006689, allocations: 481.3 kB / 278.3 MB, free: 11.97 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.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.7420838261023164]