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.0008225/0.0008225, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001074/0.001896, allocations: 449.7 kB / 10.37 MB, free: 324 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.0007018/0.0007018, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009229/0.001625, allocations: 463.6 kB / 11.72 MB, free: 2.453 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 1.003/1.003, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08683/1.089, allocations: 53.87 MB / 243.8 MB, free: 14.9 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.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.433e-06/1.433e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.8e-05/1.944e-05, allocations: 6.25 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.001866/0.001886, allocations: 1.529 MB / 246.5 MB, free: 12.11 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 8.508e-05/0.001971, allocations: 27.91 kB / 246.6 MB, free: 12.08 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.619e-05/0.002017, allocations: 7.938 kB / 246.6 MB, free: 12.07 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.922e-05/0.002036, allocations: 0 / 246.6 MB, free: 12.07 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 1.932e-05/0.002055, allocations: 7.922 kB / 246.6 MB, free: 12.06 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001134/0.002169, allocations: 23.97 kB / 246.6 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.292e-05/0.002252, allocations: 31.88 kB / 246.6 MB, free: 12.01 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.003e-05/0.002322, allocations: 3.984 kB / 246.6 MB, free: 12 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.917e-05/0.002381, allocations: 19.98 kB / 246.7 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.041e-05/0.002421, allocations: 15.92 kB / 246.7 MB, free: 11.97 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.002442, allocations: 4 kB / 246.7 MB, free: 11.96 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.414e-06/0.002449, allocations: 4 kB / 246.7 MB, free: 11.96 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.002463, allocations: 7.984 kB / 246.7 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.053e-05/0.002483, allocations: 7.938 kB / 246.7 MB, free: 11.95 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.466e-05/0.002558, allocations: 19.88 kB / 246.7 MB, free: 11.93 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.405e-05/0.002572, allocations: 3.984 kB / 246.7 MB, free: 11.92 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.002573, allocations: 4 kB / 246.7 MB, free: 11.92 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.002587, allocations: 0 / 246.7 MB, free: 11.92 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003057/0.002893, allocations: 244.6 kB / 247 MB, free: 11.65 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.843e-05/0.002921, allocations: 12.03 kB / 247 MB, free: 11.64 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.654e-05/0.002948, allocations: 12.86 kB / 247 MB, free: 11.63 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.00307, allocations: 113.8 kB / 247.1 MB, free: 11.49 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.003087, allocations: 384 / 247.1 MB, free: 11.49 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.789e-06/0.003097, allocations: 8.375 kB / 247.1 MB, free: 11.48 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.003263, allocations: 108.5 kB / 247.2 MB, free: 11.36 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.003271, allocations: 4.125 kB / 247.2 MB, free: 11.36 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.6e-06/0.003276, allocations: 384 / 247.2 MB, free: 11.36 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.003281, allocations: 384 / 247.2 MB, free: 11.36 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.895e-05/0.0033, allocations: 7.938 kB / 247.2 MB, free: 11.35 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.489e-05/0.003355, allocations: 57.05 kB / 247.3 MB, free: 11.28 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.952e-05/0.003405, allocations: 30.56 kB / 247.3 MB, free: 11.24 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.89e-05/0.003424, allocations: 16.84 kB / 247.3 MB, free: 11.22 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.952e-06/0.00343, allocations: 0 / 247.3 MB, free: 11.22 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.003451, allocations: 38.55 kB / 247.4 MB, free: 11.18 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.003451, allocations: 4 kB / 247.4 MB, free: 11.17 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 9.267e-05/0.003544, allocations: 45.62 kB / 247.4 MB, free: 11.12 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.003579, allocations: 55.41 kB / 247.5 MB, free: 11.05 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.757e-05/0.003627, allocations: 106.7 kB / 247.6 MB, free: 10.94 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.003636, allocations: 29.7 kB / 247.6 MB, free: 10.9 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.895e-05/0.003655, allocations: 84.14 kB / 247.7 MB, free: 10.82 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.257e-06/0.003664, allocations: 3.984 kB / 247.7 MB, free: 10.81 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.286e-05/0.003687, allocations: 17.72 kB / 247.7 MB, free: 10.79 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.273e-05/0.00375, allocations: 314.8 kB / 248 MB, free: 10.47 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.219e-06/0.003755, allocations: 4 kB / 248 MB, free: 10.47 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.25e-06/0.00376, allocations: 8.234 kB / 248 MB, free: 10.46 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.696e-05/0.003777, allocations: 12.8 kB / 248 MB, free: 10.45 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.00378, allocations: 4 kB / 248 MB, free: 10.44 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 2.953e-05/0.003809, allocations: 33.7 kB / 248.1 MB, free: 10.4 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.003819, allocations: 4 kB / 248.1 MB, free: 10.4 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.003823, allocations: 0 / 248.1 MB, free: 10.4 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.303e-06/0.00383, allocations: 3.938 kB / 248.1 MB, free: 10.39 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.049e-05/0.003871, allocations: 7.984 kB / 248.1 MB, free: 10.39 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-06/0.003873, allocations: 0 / 248.1 MB, free: 10.39 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.816e-06/0.003882, allocations: 8.047 kB / 248.1 MB, free: 10.38 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-06/0.003884, allocations: 0 / 248.1 MB, free: 10.38 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.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 4.823e-05/0.003932, allocations: 117.8 kB / 248.2 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.003962, allocations: 41.62 kB / 248.3 MB, free: 10.21 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.649e-05/0.003978, allocations: 4 kB / 248.3 MB, free: 10.21 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.00398, allocations: 4 kB / 248.3 MB, free: 10.2 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.003981, allocations: 0 / 248.3 MB, free: 10.2 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.003983, allocations: 0 / 248.3 MB, free: 10.2 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.274e-05/0.004026, allocations: 77.81 kB / 248.3 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.004027, allocations: 0 / 248.3 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.62e-05/0.004073, allocations: 8 kB / 248.3 MB, free: 10.1 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.264e-06/0.004081, allocations: 4 kB / 248.3 MB, free: 10.1 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-06/0.004082, allocations: 0 / 248.3 MB, free: 10.1 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.004087, allocations: 7.984 kB / 248.4 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.004089, allocations: 0 / 248.4 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.00409, allocations: 0 / 248.4 MB, free: 10.09 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.835e-05/0.004138, allocations: 57.8 kB / 248.4 MB, free: 10.02 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.004151, allocations: 0 / 248.4 MB, free: 10.02 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.801e-05/0.004169, allocations: 4 kB / 248.4 MB, free: 10.01 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-06/0.004172, allocations: 0 / 248.4 MB, free: 10.01 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.004179, allocations: 7.984 kB / 248.4 MB, free: 10 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.497e-05/0.004194, allocations: 12.86 kB / 248.4 MB, free: 9.988 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004194, allocations: 4 kB / 248.4 MB, free: 9.984 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001288/0.004323, allocations: 4 kB / 248.4 MB, free: 9.98 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: 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.41e-05/0.004387, allocations: 76.42 kB / 248.5 MB, free: 9.895 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.574e-05/0.004442, allocations: 16.84 kB / 248.5 MB, free: 9.875 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.004445, allocations: 0 / 248.5 MB, free: 9.875 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.7e-07/0.004445, allocations: 0 / 248.5 MB, free: 9.875 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001212/0.004566, allocations: 28.41 kB / 248.6 MB, free: 9.848 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002957/0.004862, allocations: 135.4 kB / 248.7 MB, free: 9.691 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.674e-05/0.004889, allocations: 55.36 kB / 248.8 MB, free: 9.617 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.434e-05/0.004903, allocations: 7.984 kB / 248.8 MB, free: 9.609 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.531e-05/0.004938, allocations: 51.38 kB / 248.8 MB, free: 9.559 MB / 250.7 MB Notification: Performance of SimCode: time 9.11e-07/0.004939, allocations: 0 / 248.8 MB, free: 9.559 MB / 250.7 MB Notification: Performance of Templates: time 0.001788/0.006727, allocations: 493.6 kB / 249.3 MB, free: 9.082 MB / 250.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 -ignoreHideResult -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.447113965637982]