Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.0009846/0.0009846, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001901/0.001901, allocations: 167.2 kB / 24.82 MB, free: 8.934 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 0.986/0.986, allocations: 177 MB / 205.1 MB, free: 5.484 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.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 273.3 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.212e-05/2.41e-05, allocations: 7.719 kB / 273.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.001855/0.00188, allocations: 1.485 MB / 274.8 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001685/0.002048, allocations: 31.84 kB / 274.8 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.042e-05/0.002108, allocations: 0 / 274.8 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.445e-05/0.002133, allocations: 11.94 kB / 274.9 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.422e-05/0.002167, allocations: 0 / 274.9 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.002362, allocations: 19.92 kB / 274.9 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.584e-05/0.002427, allocations: 31.91 kB / 274.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.99e-05/0.002507, allocations: 7.984 kB / 274.9 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.15e-05/0.002559, allocations: 11.98 kB / 274.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.137e-05/0.00259, allocations: 11.94 kB / 274.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.002606, allocations: 4 kB / 274.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.115e-06/0.002615, allocations: 4 kB / 274.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.002632, allocations: 11.97 kB / 275 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.869e-05/0.002651, allocations: 7.938 kB / 275 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 6.379e-05/0.002715, allocations: 19.98 kB / 275 MB, free: 15.58 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.002716, allocations: 0 / 275 MB, free: 15.58 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.002717, allocations: 0 / 275 MB, free: 15.58 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.035e-06/0.00272, allocations: 0 / 275 MB, free: 15.58 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.0002778/0.002998, allocations: 372.6 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.003031, allocations: 11.98 kB / 275.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.437e-05/0.003055, allocations: 8.891 kB / 275.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.003158, allocations: 124.5 kB / 275.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.003172, allocations: 384 / 275.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-06/0.003179, allocations: 4.375 kB / 275.5 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.003333, allocations: 106.2 kB / 275.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.882e-06/0.003339, allocations: 192 / 275.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.33e-06/0.003344, allocations: 384 / 275.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.00335, allocations: 4.375 kB / 275.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.52e-05/0.003365, allocations: 3.938 kB / 275.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.708e-05/0.003442, allocations: 109.1 kB / 275.7 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.871e-05/0.003491, allocations: 39 kB / 275.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.903e-05/0.00351, allocations: 19.73 kB / 275.8 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.064e-06/0.003517, allocations: 7.984 kB / 275.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.003534, allocations: 37.39 kB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.003535, allocations: 0 / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 9.532e-05/0.00363, allocations: 49.64 kB / 275.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.003665, allocations: 63.34 kB / 275.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.8e-05/0.003723, allocations: 161.9 kB / 276.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.003734, allocations: 29.7 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.238e-05/0.003766, allocations: 130.9 kB / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.436e-06/0.003774, allocations: 0 / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-05/0.003796, allocations: 19.38 kB / 276.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.366e-05/0.00389, allocations: 0.4883 MB / 276.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.827e-06/0.003894, allocations: 4 kB / 276.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.28e-06/0.003899, allocations: 8 kB / 276.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.693e-05/0.003916, allocations: 15.67 kB / 276.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.003917, allocations: 0 / 276.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.372e-05/0.003951, allocations: 37.64 kB / 276.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.003962, allocations: 7.125 kB / 276.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.003967, allocations: 3.984 kB / 276.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.003977, allocations: 0 / 276.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.29e-05/0.00401, allocations: 4 kB / 276.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.004012, allocations: 4.094 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.055e-06/0.00402, allocations: 3.953 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-06/0.004023, allocations: 3.938 kB / 276.8 MB, free: 13.52 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.174e-05/0.004075, allocations: 156.6 kB / 277 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.004107, allocations: 45.69 kB / 277 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.309e-05/0.00413, allocations: 7.688 kB / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.004131, allocations: 0 / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.004134, allocations: 3.938 kB / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.004137, allocations: 0 / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.442e-05/0.004191, allocations: 101.2 kB / 277.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.004192, allocations: 4 kB / 277.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.615e-05/0.004208, allocations: 7.938 kB / 277.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.004209, allocations: 0 / 277.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.366e-06/0.004213, allocations: 0 / 277.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.8e-07/0.004213, allocations: 0 / 277.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.004214, allocations: 0 / 277.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.468e-05/0.004248, allocations: 76.38 kB / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-06/0.004254, allocations: 3.953 kB / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.041e-05/0.004264, allocations: 4 kB / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.108e-05/0.004275, allocations: 4 kB / 277.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.714e-06/0.004277, allocations: 0 / 277.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-06/0.004279, allocations: 4.25 kB / 277.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.8e-05/0.004307, allocations: 131.2 kB / 277.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004307, allocations: 0 / 277.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001082/0.004415, allocations: 4 kB / 277.4 MB, free: 12.91 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 6.167e-05/0.004477, allocations: 95.25 kB / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.807e-05/0.004535, allocations: 19.62 kB / 277.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.004536, allocations: 0 / 277.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.004537, allocations: 4 kB / 277.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.004663, allocations: 24.69 kB / 277.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001688/0.004832, allocations: 116.9 kB / 277.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.34e-05/0.004855, allocations: 59.34 kB / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.067e-05/0.004866, allocations: 0 / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.992e-05/0.004896, allocations: 70.2 kB / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of SimCode: time 7.42e-07/0.004897, allocations: 3.938 kB / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of Templates: time 0.001677/0.006574, allocations: 394.1 kB / 278.1 MB, free: 12.08 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/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.6011452870443463]