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.001014/0.001014, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001131/0.001131, allocations: 160.2 kB / 24.91 MB, free: 8.262 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.02/1.02, allocations: 177 MB / 205.2 MB, free: 5.457 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.954e-06/1.954e-06, allocations: 0 / 273.4 MB, free: 1.191 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.354e-05/3.55e-05, allocations: 2.312 kB / 273.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002909/0.002944, allocations: 1.537 MB / 275 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002184/0.003163, allocations: 23.86 kB / 275 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.117e-05/0.003234, allocations: 0 / 275 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.845e-05/0.003272, allocations: 7.922 kB / 275 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.432e-05/0.003317, allocations: 4 kB / 275 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002611/0.003578, allocations: 27.84 kB / 275 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.51e-05/0.003673, allocations: 31.86 kB / 275 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.64e-05/0.003759, allocations: 8 kB / 275.1 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.237e-05/0.003822, allocations: 15.98 kB / 275.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.339e-05/0.003865, allocations: 15.97 kB / 275.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.003885, allocations: 4 kB / 275.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.468e-06/0.003895, allocations: 4 kB / 275.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.998e-05/0.003914, allocations: 3.938 kB / 275.1 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.074e-05/0.003935, allocations: 8 kB / 275.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.156e-05/0.004027, allocations: 19.91 kB / 275.1 MB, free: 15.46 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.004029, allocations: 4 kB / 275.1 MB, free: 15.46 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.004031, allocations: 0 / 275.1 MB, free: 15.46 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.004035, allocations: 0 / 275.1 MB, free: 15.46 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.0003339/0.004369, allocations: 240.9 kB / 275.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.004412, allocations: 15.98 kB / 275.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.434e-05/0.004446, allocations: 8.938 kB / 275.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.004609, allocations: 125.7 kB / 275.5 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.004627, allocations: 4.312 kB / 275.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.004638, allocations: 4.375 kB / 275.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.004845, allocations: 96.56 kB / 275.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.004854, allocations: 192 / 275.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.004862, allocations: 4.375 kB / 275.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.004867, allocations: 384 / 275.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.371e-05/0.004891, allocations: 11.94 kB / 275.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.59e-05/0.004967, allocations: 60.98 kB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.47e-05/0.005032, allocations: 34.55 kB / 275.7 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.955e-05/0.005051, allocations: 12.8 kB / 275.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.472e-06/0.005058, allocations: 0 / 275.7 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.005082, allocations: 34.56 kB / 275.8 MB, free: 14.72 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.005083, allocations: 0 / 275.8 MB, free: 14.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001077/0.005191, allocations: 45.69 kB / 275.8 MB, free: 14.67 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.005243, allocations: 59.33 kB / 275.9 MB, free: 14.6 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.752e-05/0.0053, allocations: 110.7 kB / 276 MB, free: 14.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.957e-06/0.005309, allocations: 25.7 kB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.374e-05/0.005333, allocations: 92.12 kB / 276.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.167e-06/0.005342, allocations: 3.938 kB / 276.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.298e-05/0.005365, allocations: 21.7 kB / 276.1 MB, free: 14.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.432e-05/0.005439, allocations: 314.8 kB / 276.4 MB, free: 14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.36e-06/0.005445, allocations: 4 kB / 276.4 MB, free: 14 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.731e-06/0.00545, allocations: 0 / 276.4 MB, free: 14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.992e-05/0.00547, allocations: 12.84 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.005472, allocations: 0 / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.166e-05/0.005514, allocations: 29.7 kB / 276.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.005525, allocations: 12.09 kB / 276.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.005529, allocations: 0 / 276.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/0.005539, allocations: 0 / 276.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.916e-05/0.005578, allocations: 7.938 kB / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.005582, allocations: 3.984 kB / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.979e-06/0.005592, allocations: 3.953 kB / 276.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-06/0.005594, allocations: 192 / 276.5 MB, free: 13.92 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.204e-05/0.005646, allocations: 113.8 kB / 276.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.422e-05/0.005681, allocations: 45.67 kB / 276.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.816e-05/0.005699, allocations: 4 kB / 276.7 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.005701, allocations: 8 kB / 276.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.005702, allocations: 0 / 276.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.005704, allocations: 0 / 276.7 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.291e-05/0.005747, allocations: 73.81 kB / 276.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.005748, allocations: 0 / 276.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.666e-05/0.005784, allocations: 8 kB / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.005785, allocations: 0 / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.91e-06/0.00579, allocations: 4 kB / 276.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.005791, allocations: 3.938 kB / 276.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.005792, allocations: 3.938 kB / 276.8 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.717e-05/0.005829, allocations: 57.06 kB / 276.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-06/0.005837, allocations: 8 kB / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.005847, allocations: 0 / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.097e-06/0.005856, allocations: 0 / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.454e-06/0.005858, allocations: 4.25 kB / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.005861, allocations: 0 / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.273e-05/0.005873, allocations: 16.84 kB / 276.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005874, allocations: 0 / 276.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of remove unused functions: time 8.695e-05/0.00596, allocations: 8 kB / 276.9 MB, free: 13.52 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 7.708e-05/0.006038, allocations: 76.42 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.571e-05/0.006093, allocations: 20.8 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.006096, allocations: 0 / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.006096, allocations: 0 / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001261/0.006223, allocations: 21.33 kB / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001854/0.006408, allocations: 115.2 kB / 277.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.205e-05/0.00644, allocations: 59.34 kB / 277.1 MB, free: 13.17 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.616e-05/0.006456, allocations: 0 / 277.1 MB, free: 13.17 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.006492, allocations: 51.38 kB / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.006492, allocations: 4 kB / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of Templates: time 0.001914/0.008407, allocations: 494.2 kB / 277.7 MB, free: 12.65 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 -s gbode -gbm=radauIIA3 -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.5535221248865128]