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.0009135/0.0009135, allocations: 88.86 kB / 21.5 MB, free: 2.984 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.0008715/0.0008715, allocations: 162 kB / 24.91 MB, free: 8.766 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.9083/0.9083, allocations: 177 MB / 205.2 MB, free: 5.434 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.243e-06/1.243e-06, allocations: 0 / 273.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.838e-05/1.962e-05, allocations: 2.312 kB / 273.4 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.001884/0.001904, allocations: 1.493 MB / 274.9 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001811/0.002085, allocations: 35.78 kB / 274.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.319e-05/0.002138, allocations: 0 / 274.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.565e-05/0.002164, allocations: 3.938 kB / 274.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.403e-05/0.002198, allocations: 0 / 274.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000196/0.002394, allocations: 27.91 kB / 274.9 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.487e-05/0.002459, allocations: 31.92 kB / 275 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.81e-05/0.002527, allocations: 11.98 kB / 275 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.903e-05/0.002576, allocations: 11.98 kB / 275 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.434e-05/0.00261, allocations: 15.92 kB / 275 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.002628, allocations: 4 kB / 275 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.663e-06/0.002635, allocations: 0 / 275 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.002651, allocations: 4 kB / 275 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.773e-05/0.002669, allocations: 7.984 kB / 275 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.33e-05/0.002742, allocations: 23.91 kB / 275 MB, free: 15.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.532e-06/0.002743, allocations: 0 / 275 MB, free: 15.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.002744, allocations: 4 kB / 275 MB, free: 15.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.986e-06/0.002747, allocations: 0 / 275 MB, free: 15.54 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.0002451/0.002992, allocations: 240.9 kB / 275.3 MB, free: 15.28 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.877e-05/0.003021, allocations: 15.98 kB / 275.3 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.314e-05/0.003044, allocations: 4.938 kB / 275.3 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.003158, allocations: 129.6 kB / 275.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.003174, allocations: 4.375 kB / 275.4 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/0.003183, allocations: 384 / 275.4 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.003324, allocations: 100.6 kB / 275.5 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.23e-06/0.003329, allocations: 192 / 275.5 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.003336, allocations: 4.375 kB / 275.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.00334, allocations: 384 / 275.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.989e-05/0.00336, allocations: 7.938 kB / 275.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.248e-05/0.003422, allocations: 64.97 kB / 275.6 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.109e-05/0.003473, allocations: 34.5 kB / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.708e-05/0.00349, allocations: 12.84 kB / 275.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.23e-06/0.003495, allocations: 0 / 275.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.003515, allocations: 38.56 kB / 275.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 5.21e-07/0.003516, allocations: 4 kB / 275.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 7.996e-05/0.003596, allocations: 41.88 kB / 275.7 MB, free: 14.74 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.003633, allocations: 55.39 kB / 275.8 MB, free: 14.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.883e-05/0.003682, allocations: 114.6 kB / 275.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.815e-06/0.00369, allocations: 25.7 kB / 275.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.873e-05/0.003709, allocations: 80.14 kB / 276 MB, free: 14.44 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.077e-05/0.003719, allocations: 8 kB / 276 MB, free: 14.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.83e-05/0.003738, allocations: 9.719 kB / 276 MB, free: 14.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.001e-05/0.003808, allocations: 326.8 kB / 276.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.008e-06/0.003812, allocations: 0 / 276.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.244e-06/0.003819, allocations: 8 kB / 276.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.666e-05/0.003836, allocations: 4.859 kB / 276.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.003837, allocations: 0 / 276.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.447e-05/0.003872, allocations: 37.69 kB / 276.4 MB, free: 14.03 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.003888, allocations: 6.656 kB / 276.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.003891, allocations: 256 / 276.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.003901, allocations: 7.938 kB / 276.4 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.312e-05/0.003934, allocations: 4 kB / 276.4 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.003936, allocations: 0 / 276.4 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.326e-06/0.003944, allocations: 4 kB / 276.4 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-06/0.003947, allocations: 4.094 kB / 276.4 MB, free: 14 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 4.499e-05/0.003992, allocations: 109.8 kB / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.00402, allocations: 45.69 kB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.53e-05/0.004036, allocations: 3.688 kB / 276.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.004037, allocations: 0 / 276.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.004038, allocations: 0 / 276.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.00404, allocations: 3.938 kB / 276.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.043e-05/0.004081, allocations: 69.83 kB / 276.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.22e-07/0.004081, allocations: 0 / 276.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.331e-05/0.004095, allocations: 4 kB / 276.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.31e-07/0.004095, allocations: 4 kB / 276.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.05e-06/0.0041, allocations: 7.938 kB / 276.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.004101, allocations: 0 / 276.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.31e-07/0.004102, allocations: 0 / 276.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.045e-05/0.004132, allocations: 57.06 kB / 276.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.933e-06/0.004139, allocations: 7.953 kB / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.876e-06/0.004148, allocations: 0 / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.063e-05/0.004158, allocations: 4 kB / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.514e-06/0.004161, allocations: 0 / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.004163, allocations: 0 / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.093e-05/0.004174, allocations: 16.83 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004174, allocations: 4 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of remove unused functions: time 8.483e-05/0.004258, allocations: 8 kB / 276.8 MB, free: 13.61 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 5.51e-05/0.004313, allocations: 76.42 kB / 276.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.532e-05/0.004359, allocations: 20.78 kB / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.004361, allocations: 0 / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.004361, allocations: 0 / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.625e-05/0.004437, allocations: 17.34 kB / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000171/0.004608, allocations: 107.2 kB / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.73e-05/0.004636, allocations: 67.41 kB / 277 MB, free: 13.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.062e-05/0.004646, allocations: 0 / 277 MB, free: 13.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.038e-05/0.004677, allocations: 51.38 kB / 277.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of SimCode: time 3.7e-07/0.004677, allocations: 0 / 277.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of Templates: time 0.001481/0.006158, allocations: 397.2 kB / 277.5 MB, free: 12.84 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.484007142018527]