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.001535/0.001535, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001878/0.001878, allocations: 156.9 kB / 24.27 MB, free: 172 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.505/1.505, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.633e-06/1.633e-06, allocations: 0 / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.327e-05/3.491e-05, allocations: 2.312 kB / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.003003/0.003038, allocations: 1.458 MB / 273.6 MB, free: 348 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002019/0.00324, allocations: 27.91 kB / 273.7 MB, free: 320 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.203e-05/0.003302, allocations: 7.938 kB / 273.7 MB, free: 312 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.753e-05/0.003329, allocations: 0 / 273.7 MB, free: 312 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.019e-05/0.003369, allocations: 3.938 kB / 273.7 MB, free: 308 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.003626, allocations: 23.92 kB / 273.7 MB, free: 284 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.309e-05/0.003719, allocations: 31.84 kB / 273.7 MB, free: 252 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.47e-05/0.003814, allocations: 15.98 kB / 273.8 MB, free: 236 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.566e-05/0.00388, allocations: 15.98 kB / 273.8 MB, free: 220 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.754e-05/0.003917, allocations: 4 kB / 273.8 MB, free: 216 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.003935, allocations: 0 / 273.8 MB, free: 216 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.033e-05/0.003946, allocations: 4 kB / 273.8 MB, free: 212 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.158e-05/0.003967, allocations: 11.92 kB / 273.8 MB, free: 200 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.849e-05/0.004006, allocations: 11.98 kB / 273.8 MB, free: 188 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.004108, allocations: 31.84 kB / 273.8 MB, free: 156 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.004111, allocations: 0 / 273.8 MB, free: 156 kB / 250.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.004111, allocations: 0 / 273.8 MB, free: 156 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.004116, allocations: 0 / 273.8 MB, free: 156 kB / 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.0004972/0.004613, allocations: 274.3 kB / 274.1 MB, free: 15.85 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.004657, allocations: 15.98 kB / 274.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.256e-05/0.004699, allocations: 4.891 kB / 274.1 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.004934, allocations: 121.8 kB / 274.2 MB, free: 15.69 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.004957, allocations: 4.375 kB / 274.2 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.004971, allocations: 4.375 kB / 274.2 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003833/0.005354, allocations: 115.8 kB / 274.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.005361, allocations: 192 / 274.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.005374, allocations: 8.375 kB / 274.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.005381, allocations: 384 / 274.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.005511, allocations: 31.84 kB / 274.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001429/0.005654, allocations: 101.3 kB / 274.5 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.005846, allocations: 54.55 kB / 274.6 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.569e-05/0.005941, allocations: 24.92 kB / 274.6 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.005957, allocations: 3.984 kB / 274.6 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.005991, allocations: 30.56 kB / 274.6 MB, free: 15.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.005992, allocations: 3.938 kB / 274.6 MB, free: 15.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003121/0.006304, allocations: 85.55 kB / 274.7 MB, free: 15.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.96e-05/0.006374, allocations: 63.41 kB / 274.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.006488, allocations: 113.8 kB / 274.9 MB, free: 14.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.006506, allocations: 25.7 kB / 274.9 MB, free: 14.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.354e-05/0.00657, allocations: 84.14 kB / 275 MB, free: 14.85 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.107e-05/0.006581, allocations: 4 kB / 275 MB, free: 14.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.00661, allocations: 9.719 kB / 275 MB, free: 14.83 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004475/0.007057, allocations: 314.8 kB / 275.3 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.432e-05/0.007071, allocations: 7.984 kB / 275.3 MB, free: 14.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.638e-06/0.007081, allocations: 4 kB / 275.3 MB, free: 14.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.735e-05/0.007108, allocations: 12.86 kB / 275.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.00711, allocations: 4 kB / 275.3 MB, free: 14.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.436e-05/0.007174, allocations: 41.84 kB / 275.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.007191, allocations: 4 kB / 275.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.007196, allocations: 0 / 275.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.007211, allocations: 0 / 275.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.193e-05/0.007263, allocations: 7.984 kB / 275.4 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.00727, allocations: 3.984 kB / 275.4 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.412e-05/0.007284, allocations: 3.938 kB / 275.4 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.007289, allocations: 4 kB / 275.4 MB, free: 14.41 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 0.0001001/0.007389, allocations: 113.9 kB / 275.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/0.007555, allocations: 65.61 kB / 275.6 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.379e-05/0.007578, allocations: 8 kB / 275.6 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.00758, allocations: 0 / 275.6 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.007586, allocations: 4 kB / 275.6 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.007599, allocations: 3.938 kB / 275.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.007712, allocations: 109.2 kB / 275.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.007713, allocations: 0 / 275.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.481e-05/0.007778, allocations: 11.98 kB / 275.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.00778, allocations: 3.938 kB / 275.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.007786, allocations: 0 / 275.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.007788, allocations: 4 kB / 275.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.007788, allocations: 0 / 275.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.007996, allocations: 100.9 kB / 275.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.633e-06/0.008003, allocations: 0 / 275.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.00802, allocations: 3.984 kB / 275.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.043e-05/0.008051, allocations: 4 kB / 275.8 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.134e-06/0.008053, allocations: 0 / 275.8 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.00806, allocations: 4.25 kB / 275.8 MB, free: 13.92 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.55e-05/0.008126, allocations: 91.27 kB / 275.9 MB, free: 13.83 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008126, allocations: 0 / 275.9 MB, free: 13.83 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002051/0.008331, allocations: 4 kB / 275.9 MB, free: 13.82 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 0.0001336/0.008464, allocations: 103.2 kB / 276 MB, free: 13.71 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001308/0.008595, allocations: 19.98 kB / 276 MB, free: 13.69 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.008597, allocations: 0 / 276 MB, free: 13.69 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-07/0.008598, allocations: 0 / 276 MB, free: 13.69 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.008877, allocations: 29.36 kB / 276.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003436/0.009221, allocations: 127 kB / 276.2 MB, free: 13.51 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.341e-05/0.009294, allocations: 67.34 kB / 276.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.879e-05/0.009313, allocations: 4.062 kB / 276.3 MB, free: 13.42 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.447e-05/0.009347, allocations: 8.5 kB / 276.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of SimCode: time 3.8e-07/0.009348, allocations: 0 / 276.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of Templates: time 0.002914/0.01226, allocations: 454.9 kB / 276.7 MB, free: 12.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.322510467027314]