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.001136/0.001136, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.006495/0.006495, allocations: 156 kB / 24.7 MB, free: 9.434 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.8929/0.8929, allocations: 177 MB / 204.9 MB, free: 5.73 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.894e-06/1.894e-06, allocations: 0 / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.123e-05/3.312e-05, allocations: 3.266 kB / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002097/0.00213, allocations: 1.439 MB / 327.2 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002083/0.002339, allocations: 31.86 kB / 327.3 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.199e-05/0.002411, allocations: 3.938 kB / 327.3 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.511e-05/0.002446, allocations: 7.922 kB / 327.3 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.339e-05/0.002489, allocations: 4 kB / 327.3 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.002745, allocations: 15.97 kB / 327.3 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.143e-05/0.002826, allocations: 31.86 kB / 327.3 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.895e-05/0.002925, allocations: 8 kB / 327.3 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.81e-05/0.002973, allocations: 11.98 kB / 327.3 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.045e-05/0.003014, allocations: 11.94 kB / 327.3 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.003038, allocations: 7.984 kB / 327.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.715e-06/0.003046, allocations: 4 kB / 327.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.003063, allocations: 7.984 kB / 327.4 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.441e-05/0.003088, allocations: 8 kB / 327.4 MB, free: 13.78 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.00319, allocations: 31.88 kB / 327.4 MB, free: 13.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.003193, allocations: 0 / 327.4 MB, free: 13.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.003194, allocations: 0 / 327.4 MB, free: 13.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.003199, allocations: 4 kB / 327.4 MB, free: 13.75 MB / 298.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.0003642/0.003563, allocations: 266.3 kB / 327.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.003607, allocations: 11.98 kB / 327.7 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.08e-05/0.003637, allocations: 4.938 kB / 327.7 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.00384, allocations: 117.7 kB / 327.8 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.003861, allocations: 12.38 kB / 327.8 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.00387, allocations: 384 / 327.8 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.004104, allocations: 115.8 kB / 327.9 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.004111, allocations: 192 / 327.9 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.004122, allocations: 4.375 kB / 327.9 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.004131, allocations: 8.359 kB / 327.9 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.143e-05/0.004192, allocations: 23.92 kB / 328 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003708/0.004563, allocations: 101.3 kB / 328.1 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.223e-05/0.004655, allocations: 50.59 kB / 328.1 MB, free: 12.94 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.22e-05/0.004697, allocations: 20.89 kB / 328.1 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.819e-06/0.004707, allocations: 7.938 kB / 328.1 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.004725, allocations: 34.5 kB / 328.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.004726, allocations: 0 / 328.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001736/0.0049, allocations: 81.55 kB / 328.2 MB, free: 12.78 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.00495, allocations: 55.41 kB / 328.3 MB, free: 12.71 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.191e-05/0.005012, allocations: 105.8 kB / 328.4 MB, free: 12.6 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.005026, allocations: 25.7 kB / 328.4 MB, free: 12.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.791e-05/0.005054, allocations: 84.12 kB / 328.5 MB, free: 12.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.118e-05/0.005065, allocations: 8 kB / 328.5 MB, free: 12.47 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/0.005092, allocations: 13.72 kB / 328.5 MB, free: 12.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.592e-05/0.005168, allocations: 314.8 kB / 328.8 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.028e-05/0.005178, allocations: 3.938 kB / 328.8 MB, free: 12.13 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.886e-06/0.005187, allocations: 8 kB / 328.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.336e-05/0.00521, allocations: 12.84 kB / 328.9 MB, free: 12.11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.005212, allocations: 0 / 328.9 MB, free: 12.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.332e-05/0.005256, allocations: 37.7 kB / 328.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.005268, allocations: 4 kB / 328.9 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.005272, allocations: 4.094 kB / 328.9 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.005283, allocations: 0 / 328.9 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.797e-05/0.005331, allocations: 4 kB / 328.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.005335, allocations: 0 / 328.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.397e-06/0.005345, allocations: 3.938 kB / 328.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-06/0.005348, allocations: 0 / 328.9 MB, free: 12.05 MB / 298.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.414e-05/0.005402, allocations: 117.8 kB / 329 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.044e-05/0.005472, allocations: 65.81 kB / 329.1 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.075e-05/0.005493, allocations: 7.672 kB / 329.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.005494, allocations: 0 / 329.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.005499, allocations: 4 kB / 329.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.005502, allocations: 7.938 kB / 329.1 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.521e-05/0.005547, allocations: 101.3 kB / 329.2 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.005548, allocations: 0 / 329.2 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.428e-05/0.005562, allocations: 3.984 kB / 329.2 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.005565, allocations: 7.938 kB / 329.2 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-06/0.00557, allocations: 256 / 329.2 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.005572, allocations: 4 kB / 329.2 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.005573, allocations: 0 / 329.2 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.776e-05/0.00566, allocations: 96.98 kB / 329.3 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.024e-06/0.005668, allocations: 3.953 kB / 329.3 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.005678, allocations: 4 kB / 329.3 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.218e-05/0.00569, allocations: 7.984 kB / 329.3 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-06/0.005693, allocations: 0 / 329.3 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-06/0.005697, allocations: 4 kB / 329.3 MB, free: 11.55 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.566e-05/0.005723, allocations: 79.28 kB / 329.4 MB, free: 11.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005723, allocations: 7.938 kB / 329.4 MB, free: 11.47 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001142/0.005837, allocations: 0 / 329.4 MB, free: 11.47 MB / 298.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.092e-05/0.005918, allocations: 107.2 kB / 329.5 MB, free: 11.36 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.911e-05/0.006007, allocations: 15.98 kB / 329.6 MB, free: 11.34 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.006009, allocations: 8 kB / 329.6 MB, free: 11.33 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.9e-07/0.006009, allocations: 0 / 329.6 MB, free: 11.33 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/0.006178, allocations: 28.02 kB / 329.6 MB, free: 11.3 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002447/0.006422, allocations: 142.5 kB / 329.7 MB, free: 11.13 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.037e-05/0.006473, allocations: 63.34 kB / 329.8 MB, free: 11.05 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.0065, allocations: 8.5 kB / 329.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.006501, allocations: 0 / 329.8 MB, free: 11.04 MB / 298.7 MB Notification: Performance of Templates: time 0.001406/0.007907, allocations: 0.5767 MB / 330.4 MB, free: 10.47 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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: 3.989722759462893]