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.001032/0.001032, allocations: 95.5 kB / 21.2 MB, free: 3.367 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.001397/0.001397, allocations: 160.5 kB / 24.56 MB, free: 12 kB / 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.046/1.046, allocations: 177 MB / 204.8 MB, free: 5.57 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.553e-06/1.553e-06, allocations: 0 / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/2.931e-05, allocations: 5.125 kB / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002184/0.002213, allocations: 1.478 MB / 274.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002081/0.002421, allocations: 43.78 kB / 274.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.97e-05/0.002481, allocations: 0 / 274.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.685e-05/0.002528, allocations: 3.938 kB / 274.4 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.371e-05/0.002572, allocations: 3.984 kB / 274.4 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.002824, allocations: 27.91 kB / 274.5 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001/0.002924, allocations: 23.83 kB / 274.5 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.561e-05/0.003019, allocations: 11.98 kB / 274.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.347e-05/0.003073, allocations: 15.92 kB / 274.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.549e-05/0.003108, allocations: 4 kB / 274.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.003132, allocations: 4 kB / 274.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.156e-06/0.00314, allocations: 8 kB / 274.5 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.927e-05/0.00316, allocations: 11.97 kB / 274.5 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.635e-05/0.003186, allocations: 11.94 kB / 274.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.323e-05/0.003279, allocations: 15.97 kB / 274.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.003283, allocations: 0 / 274.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.003284, allocations: 0 / 274.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.003289, allocations: 0 / 274.6 MB, free: 15.77 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.0003693/0.003658, allocations: 376.5 kB / 274.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.003698, allocations: 11.98 kB / 274.9 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.003739, allocations: 8.891 kB / 275 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.003902, allocations: 132.5 kB / 275.1 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.00392, allocations: 384 / 275.1 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.003931, allocations: 4.375 kB / 275.1 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.004158, allocations: 106.2 kB / 275.2 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.004165, allocations: 192 / 275.2 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.004174, allocations: 384 / 275.2 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.004184, allocations: 4.359 kB / 275.2 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.786e-05/0.004211, allocations: 11.92 kB / 275.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.435e-05/0.004306, allocations: 116.6 kB / 275.3 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.172e-05/0.004378, allocations: 50.98 kB / 275.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.167e-05/0.004409, allocations: 19.72 kB / 275.4 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.73e-06/0.004415, allocations: 0 / 275.4 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.004444, allocations: 37.39 kB / 275.4 MB, free: 14.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.004445, allocations: 0 / 275.4 MB, free: 14.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001415/0.004586, allocations: 45.73 kB / 275.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.004633, allocations: 63.33 kB / 275.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.347e-05/0.004706, allocations: 165.9 kB / 275.7 MB, free: 14.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.004717, allocations: 29.69 kB / 275.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.497e-05/0.004752, allocations: 130.9 kB / 275.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.095e-05/0.004763, allocations: 4 kB / 275.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.501e-05/0.004788, allocations: 19.38 kB / 275.9 MB, free: 14.26 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.004902, allocations: 0.4884 MB / 276.4 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.077e-06/0.004911, allocations: 0 / 276.4 MB, free: 13.76 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.763e-06/0.004918, allocations: 3.984 kB / 276.4 MB, free: 13.76 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.434e-05/0.004942, allocations: 15.62 kB / 276.4 MB, free: 13.74 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.004944, allocations: 0 / 276.4 MB, free: 13.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.582e-05/0.00499, allocations: 45.59 kB / 276.4 MB, free: 13.69 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.005004, allocations: 8 kB / 276.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.005009, allocations: 4.094 kB / 276.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.005022, allocations: 0 / 276.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.466e-05/0.005077, allocations: 4 kB / 276.4 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.005082, allocations: 0 / 276.4 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.082e-05/0.005093, allocations: 3.938 kB / 276.4 MB, free: 13.67 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.005098, allocations: 0 / 276.4 MB, free: 13.67 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 7.082e-05/0.005168, allocations: 160.6 kB / 276.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.226e-05/0.005211, allocations: 41.95 kB / 276.6 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.485e-05/0.005235, allocations: 11.98 kB / 276.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.005237, allocations: 0 / 276.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.005242, allocations: 4 kB / 276.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.005246, allocations: 7.938 kB / 276.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.319e-05/0.005299, allocations: 120.6 kB / 276.8 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.005301, allocations: 0 / 276.8 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.698e-05/0.005338, allocations: 11.94 kB / 276.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.00534, allocations: 0 / 276.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.005347, allocations: 0 / 276.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.005347, allocations: 0 / 276.8 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.005348, allocations: 4 kB / 276.8 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.87e-05/0.005417, allocations: 84.59 kB / 276.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.378e-06/0.005426, allocations: 11.98 kB / 276.9 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.00544, allocations: 4 kB / 276.9 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.12e-05/0.005451, allocations: 4 kB / 276.9 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-06/0.005453, allocations: 0 / 276.9 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.005457, allocations: 4 kB / 276.9 MB, free: 13.13 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.408e-05/0.005491, allocations: 123.2 kB / 277 MB, free: 13.01 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005491, allocations: 0 / 277 MB, free: 13.01 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000112/0.005603, allocations: 4 kB / 277 MB, free: 13.01 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 8.148e-05/0.005684, allocations: 111 kB / 277.1 MB, free: 12.89 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.88e-05/0.005763, allocations: 19.69 kB / 277.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.005765, allocations: 4.062 kB / 277.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.82e-07/0.005766, allocations: 0 / 277.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.005949, allocations: 21.42 kB / 277.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002721/0.006221, allocations: 116.8 kB / 277.3 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.318e-05/0.006254, allocations: 63.28 kB / 277.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.314e-05/0.006277, allocations: 4 kB / 277.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.699e-05/0.006304, allocations: 8.5 kB / 277.4 MB, free: 12.6 MB / 266.7 MB Notification: Performance of SimCode: time 7.52e-07/0.006305, allocations: 0 / 277.4 MB, free: 12.6 MB / 266.7 MB Notification: Performance of Templates: time 0.002645/0.00895, allocations: 467.9 kB / 277.8 MB, free: 12.15 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.7733621252700686]