Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 84.66 kB / 20.95 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 153.1 kB / 24.26 MB, free: 160 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 173.4 MB / 200.8 MB, free: 9.301 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.972e-05/4.177e-05, allocations: 6.312 kB / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002968/0.00301, allocations: 1.421 MB / 268.7 MB, free: 5.281 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001922/0.003202, allocations: 31.84 kB / 268.8 MB, free: 5.25 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.797e-05/0.00327, allocations: 4 kB / 268.8 MB, free: 5.246 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.236e-05/0.003302, allocations: 3.938 kB / 268.8 MB, free: 5.242 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.886e-05/0.003341, allocations: 4 kB / 268.8 MB, free: 5.238 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.003615, allocations: 31.84 kB / 268.8 MB, free: 5.207 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000107/0.003722, allocations: 27.92 kB / 268.8 MB, free: 5.18 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.54e-05/0.003817, allocations: 7.984 kB / 268.8 MB, free: 5.172 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.436e-05/0.003882, allocations: 15.98 kB / 268.9 MB, free: 5.156 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.295e-05/0.003925, allocations: 11.92 kB / 268.9 MB, free: 5.145 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.003943, allocations: 0 / 268.9 MB, free: 5.145 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.186e-05/0.003955, allocations: 4 kB / 268.9 MB, free: 5.141 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.108e-05/0.003976, allocations: 7.938 kB / 268.9 MB, free: 5.133 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.089e-05/0.004017, allocations: 11.98 kB / 268.9 MB, free: 5.121 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.903e-05/0.004116, allocations: 31.95 kB / 268.9 MB, free: 5.09 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.004118, allocations: 3.938 kB / 268.9 MB, free: 5.086 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004118, allocations: 0 / 268.9 MB, free: 5.086 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.004122, allocations: 0 / 268.9 MB, free: 5.086 MB / 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.0004863/0.004608, allocations: 266.2 kB / 269.2 MB, free: 4.793 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.004654, allocations: 16.02 kB / 269.2 MB, free: 4.777 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.574e-05/0.0047, allocations: 4.938 kB / 269.2 MB, free: 4.773 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.00491, allocations: 113.8 kB / 269.3 MB, free: 4.637 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.004939, allocations: 12.34 kB / 269.3 MB, free: 4.625 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.004952, allocations: 4.375 kB / 269.3 MB, free: 4.621 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003675/0.005319, allocations: 119.8 kB / 269.5 MB, free: 4.492 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.005329, allocations: 192 / 269.5 MB, free: 4.492 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.005343, allocations: 4.375 kB / 269.5 MB, free: 4.488 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.005348, allocations: 4.375 kB / 269.5 MB, free: 4.484 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.005459, allocations: 19.92 kB / 269.5 MB, free: 4.465 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.005616, allocations: 105.3 kB / 269.6 MB, free: 4.332 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.005777, allocations: 46.59 kB / 269.6 MB, free: 4.277 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.616e-05/0.005853, allocations: 20.89 kB / 269.7 MB, free: 4.254 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.005867, allocations: 11.94 kB / 269.7 MB, free: 4.242 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.005903, allocations: 30.56 kB / 269.7 MB, free: 4.203 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.005904, allocations: 0 / 269.7 MB, free: 4.203 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.00029/0.006194, allocations: 73.66 kB / 269.8 MB, free: 4.125 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.852e-05/0.006263, allocations: 59.41 kB / 269.8 MB, free: 4.055 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.006369, allocations: 109.7 kB / 269.9 MB, free: 3.938 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.006388, allocations: 25.7 kB / 270 MB, free: 3.906 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.823e-05/0.006447, allocations: 84.14 kB / 270 MB, free: 3.82 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.977e-06/0.006456, allocations: 0 / 270 MB, free: 3.82 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.006491, allocations: 17.72 kB / 270.1 MB, free: 3.797 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.006674, allocations: 310.8 kB / 270.4 MB, free: 3.484 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.26e-05/0.006686, allocations: 15.86 kB / 270.4 MB, free: 3.469 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.316e-06/0.006695, allocations: 4 kB / 270.4 MB, free: 3.465 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.657e-05/0.006721, allocations: 12.86 kB / 270.4 MB, free: 3.449 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.006723, allocations: 0 / 270.4 MB, free: 3.449 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.574e-05/0.006788, allocations: 37.7 kB / 270.4 MB, free: 3.406 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.006802, allocations: 4 kB / 270.4 MB, free: 3.402 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.006806, allocations: 0 / 270.4 MB, free: 3.402 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.006819, allocations: 4 kB / 270.4 MB, free: 3.398 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.32e-05/0.006862, allocations: 0 / 270.4 MB, free: 3.398 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.006871, allocations: 12.02 kB / 270.4 MB, free: 3.387 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.624e-05/0.006888, allocations: 7.938 kB / 270.5 MB, free: 3.379 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-06/0.00689, allocations: 0 / 270.5 MB, free: 3.379 MB / 250.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 9.232e-05/0.006982, allocations: 105.8 kB / 270.6 MB, free: 3.266 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/0.007139, allocations: 69.62 kB / 270.6 MB, free: 3.191 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.337e-05/0.007163, allocations: 7.938 kB / 270.6 MB, free: 3.18 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.007164, allocations: 0 / 270.6 MB, free: 3.18 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.872e-06/0.00717, allocations: 4 kB / 270.6 MB, free: 3.176 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.007174, allocations: 4.172 kB / 270.6 MB, free: 3.172 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.609e-05/0.00727, allocations: 105.2 kB / 270.7 MB, free: 3.039 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.007271, allocations: 4 kB / 270.7 MB, free: 3.035 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.626e-05/0.007308, allocations: 7.984 kB / 270.8 MB, free: 3.027 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.007309, allocations: 0 / 270.8 MB, free: 3.027 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.007315, allocations: 0 / 270.8 MB, free: 3.027 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.007316, allocations: 0 / 270.8 MB, free: 3.027 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.00732, allocations: 4 kB / 270.8 MB, free: 3.023 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001895/0.00751, allocations: 88.98 kB / 270.8 MB, free: 2.918 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.334e-05/0.007523, allocations: 7.953 kB / 270.9 MB, free: 2.91 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.007541, allocations: 7.984 kB / 270.9 MB, free: 2.902 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.099e-05/0.007572, allocations: 4 kB / 270.9 MB, free: 2.898 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.054e-06/0.007574, allocations: 0 / 270.9 MB, free: 2.898 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.007578, allocations: 4 kB / 270.9 MB, free: 2.895 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.406e-05/0.007632, allocations: 79.28 kB / 270.9 MB, free: 2.816 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007632, allocations: 3.938 kB / 271 MB, free: 2.812 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000184/0.007816, allocations: 8 kB / 271 MB, free: 2.805 MB / 250.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.000119/0.007935, allocations: 103.2 kB / 271.1 MB, free: 2.691 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001222/0.008057, allocations: 23.92 kB / 271.1 MB, free: 2.668 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.008059, allocations: 0 / 271.1 MB, free: 2.668 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.00806, allocations: 0 / 271.1 MB, free: 2.668 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.008312, allocations: 25.48 kB / 271.1 MB, free: 2.641 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002961/0.008608, allocations: 114.8 kB / 271.2 MB, free: 2.508 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.137e-05/0.008679, allocations: 67.25 kB / 271.3 MB, free: 2.422 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.476e-05/0.008694, allocations: 3.859 kB / 271.3 MB, free: 2.418 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.008724, allocations: 8.5 kB / 271.3 MB, free: 2.41 MB / 250.7 MB Notification: Performance of SimCode: time 4.01e-07/0.008725, allocations: 0 / 271.3 MB, free: 2.41 MB / 250.7 MB Notification: Performance of Templates: time 0.002861/0.01159, allocations: 392.4 kB / 271.7 MB, free: 2.027 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 4.106179889990017]