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.0007803/0.0007803, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00415/0.00493, 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.0007143/0.0007143, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000968/0.001682, 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.9968/0.9968, allocations: 177.5 MB / 190 MB, free: 4.809 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09152/1.088, allocations: 53.87 MB / 243.9 MB, free: 14.86 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.503e-06/1.503e-06, allocations: 0 / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.365e-05, allocations: 2.312 kB / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.003351/0.003375, allocations: 1.54 MB / 246.7 MB, free: 12.04 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001275/0.003503, allocations: 31.84 kB / 246.8 MB, free: 12.01 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.076e-05/0.003553, allocations: 4 kB / 246.8 MB, free: 12 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.678e-05/0.00358, allocations: 3.938 kB / 246.8 MB, free: 12 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 2.732e-05/0.003607, allocations: 3.938 kB / 246.8 MB, free: 12 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001752/0.003783, allocations: 23.97 kB / 246.8 MB, free: 11.97 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.518e-05/0.003878, allocations: 31.86 kB / 246.8 MB, free: 11.94 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.099e-05/0.003969, allocations: 11.98 kB / 246.8 MB, free: 11.93 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.917e-05/0.004048, allocations: 15.97 kB / 246.9 MB, free: 11.91 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.159e-05/0.00409, allocations: 11.94 kB / 246.9 MB, free: 11.9 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.004115, allocations: 4 kB / 246.9 MB, free: 11.9 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.223e-05/0.004128, allocations: 8 kB / 246.9 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.472e-05/0.004152, allocations: 4 kB / 246.9 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.133e-05/0.004174, allocations: 8 kB / 246.9 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.004274, allocations: 19.86 kB / 246.9 MB, free: 11.86 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.425e-05/0.004288, allocations: 0 / 246.9 MB, free: 11.86 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.004291, allocations: 0 / 246.9 MB, free: 11.86 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.004301, allocations: 0 / 246.9 MB, free: 11.86 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.000356/0.004657, allocations: 252.6 kB / 247.2 MB, free: 11.59 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.004691, allocations: 8.031 kB / 247.2 MB, free: 11.58 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.004725, allocations: 4.938 kB / 247.2 MB, free: 11.57 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.004899, allocations: 133.6 kB / 247.3 MB, free: 11.42 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.004919, allocations: 384 / 247.3 MB, free: 11.42 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.004932, allocations: 4.375 kB / 247.3 MB, free: 11.41 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.00514, allocations: 104.5 kB / 247.4 MB, free: 11.3 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.005148, allocations: 192 / 247.4 MB, free: 11.3 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-06/0.005155, allocations: 384 / 247.4 MB, free: 11.3 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.005162, allocations: 4.375 kB / 247.4 MB, free: 11.29 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.117e-05/0.005183, allocations: 7.922 kB / 247.4 MB, free: 11.29 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.074e-05/0.005264, allocations: 64.98 kB / 247.5 MB, free: 11.21 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.563e-05/0.00533, allocations: 34.56 kB / 247.5 MB, free: 11.16 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.407e-05/0.005354, allocations: 12.84 kB / 247.5 MB, free: 11.15 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-06/0.005361, allocations: 4 kB / 247.5 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.005385, allocations: 34.56 kB / 247.6 MB, free: 11.1 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.005386, allocations: 0 / 247.6 MB, free: 11.1 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001145/0.005501, allocations: 49.61 kB / 247.6 MB, free: 11.05 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.005545, allocations: 59.41 kB / 247.7 MB, free: 10.98 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.021e-05/0.005606, allocations: 98.72 kB / 247.8 MB, free: 10.87 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.005618, allocations: 29.7 kB / 247.8 MB, free: 10.83 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.65e-05/0.005644, allocations: 92.11 kB / 247.9 MB, free: 10.74 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.054e-05/0.005655, allocations: 4 kB / 247.9 MB, free: 10.73 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.531e-05/0.00568, allocations: 13.72 kB / 247.9 MB, free: 10.71 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.213e-05/0.005762, allocations: 322.8 kB / 248.2 MB, free: 10.39 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.242e-06/0.005768, allocations: 4 kB / 248.2 MB, free: 10.39 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-06/0.005774, allocations: 0 / 248.2 MB, free: 10.39 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.476e-05/0.005799, allocations: 12.84 kB / 248.2 MB, free: 10.37 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.005801, allocations: 0 / 248.2 MB, free: 10.37 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.213e-05/0.005853, allocations: 37.64 kB / 248.3 MB, free: 10.33 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.005866, allocations: 4 kB / 248.3 MB, free: 10.32 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.005872, allocations: 4.094 kB / 248.3 MB, free: 10.32 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.005882, allocations: 0 / 248.3 MB, free: 10.32 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.412e-05/0.005926, allocations: 7.984 kB / 248.3 MB, free: 10.31 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.474e-06/0.005928, allocations: 3.938 kB / 248.3 MB, free: 10.31 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.264e-05/0.005941, allocations: 3.953 kB / 248.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-06/0.005943, allocations: 0 / 248.3 MB, free: 10.3 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 6.144e-05/0.006005, allocations: 113.8 kB / 248.4 MB, free: 10.18 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.006048, allocations: 37.69 kB / 248.4 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.598e-05/0.006074, allocations: 12 kB / 248.5 MB, free: 10.13 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.006075, allocations: 0 / 248.5 MB, free: 10.13 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-06/0.006076, allocations: 4 kB / 248.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.006079, allocations: 3.938 kB / 248.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.795e-05/0.006137, allocations: 69.83 kB / 248.5 MB, free: 10.04 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.006138, allocations: 0 / 248.5 MB, free: 10.04 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.47e-05/0.006193, allocations: 8 kB / 248.5 MB, free: 10.03 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-06/0.006201, allocations: 0 / 248.5 MB, free: 10.03 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.006205, allocations: 4 kB / 248.5 MB, free: 10.02 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.718e-06/0.00621, allocations: 0 / 248.5 MB, free: 10.02 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.006212, allocations: 0 / 248.5 MB, free: 10.02 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.006216, allocations: 3.984 kB / 248.5 MB, free: 10.02 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.181e-05/0.006268, allocations: 57.8 kB / 248.6 MB, free: 9.945 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.006282, allocations: 4.25 kB / 248.6 MB, free: 9.941 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.833e-05/0.0063, allocations: 8.234 kB / 248.6 MB, free: 9.934 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-06/0.006304, allocations: 0 / 248.6 MB, free: 9.934 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.006307, allocations: 0 / 248.6 MB, free: 9.934 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.766e-05/0.006324, allocations: 16.83 kB / 248.6 MB, free: 9.914 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.006325, allocations: 0 / 248.6 MB, free: 9.914 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001105/0.006435, allocations: 4 kB / 248.6 MB, free: 9.91 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 7.844e-05/0.006514, allocations: 88.34 kB / 248.7 MB, free: 9.812 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.707e-05/0.006571, allocations: 16.84 kB / 248.7 MB, free: 9.793 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.006574, allocations: 8.031 kB / 248.7 MB, free: 9.785 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.21e-07/0.006574, allocations: 0 / 248.7 MB, free: 9.785 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.006716, allocations: 51.08 kB / 248.8 MB, free: 9.727 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/0.007042, allocations: 119 kB / 248.9 MB, free: 9.586 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.887e-05/0.00707, allocations: 59.34 kB / 249 MB, free: 9.508 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.604e-05/0.007087, allocations: 0 / 249 MB, free: 9.508 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.956e-05/0.007126, allocations: 55.38 kB / 249 MB, free: 9.453 MB / 250.7 MB Notification: Performance of SimCode: time 6.31e-07/0.007127, allocations: 0 / 249 MB, free: 9.453 MB / 250.7 MB Notification: Performance of Templates: time 0.001796/0.008923, allocations: 495.6 kB / 249.5 MB, free: 8.973 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.446457657031715]