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.001073/0.001073, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.0009134/0.0009134, allocations: 145.1 kB / 24.54 MB, free: 32 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 0.9319/0.9319, allocations: 173.4 MB / 201.1 MB, free: 9.367 MB / 186.7 MB " [Timeout remaining time 179] 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 1.934e-06/1.934e-06, allocations: 0 / 268 MB, free: 6.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.495e-05/3.689e-05, allocations: 10.19 kB / 268 MB, free: 6.469 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.003088/0.003125, allocations: 1.467 MB / 269.5 MB, free: 4.992 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000222/0.003347, allocations: 31.86 kB / 269.5 MB, free: 4.961 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.644e-05/0.003404, allocations: 3.938 kB / 269.5 MB, free: 4.957 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.949e-05/0.003433, allocations: 4 kB / 269.5 MB, free: 4.953 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.583e-05/0.003469, allocations: 3.938 kB / 269.5 MB, free: 4.949 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.003708, allocations: 19.97 kB / 269.5 MB, free: 4.93 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.872e-05/0.003797, allocations: 27.92 kB / 269.5 MB, free: 4.902 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.058e-05/0.003888, allocations: 15.97 kB / 269.6 MB, free: 4.887 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.056e-05/0.003938, allocations: 11.98 kB / 269.6 MB, free: 4.875 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.02e-05/0.003978, allocations: 11.94 kB / 269.6 MB, free: 4.863 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.003998, allocations: 0 / 269.6 MB, free: 4.863 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.809e-06/0.004008, allocations: 4 kB / 269.6 MB, free: 4.859 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.004025, allocations: 0 / 269.6 MB, free: 4.859 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.869e-05/0.004054, allocations: 15.97 kB / 269.6 MB, free: 4.844 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.597e-05/0.00415, allocations: 23.92 kB / 269.6 MB, free: 4.82 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.004153, allocations: 4 kB / 269.6 MB, free: 4.816 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.004154, allocations: 3.938 kB / 269.6 MB, free: 4.812 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.004159, allocations: 0 / 269.6 MB, free: 4.812 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.0004118/0.004571, allocations: 364.6 kB / 270 MB, free: 4.418 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.004621, allocations: 8.031 kB / 270 MB, free: 4.41 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.721e-05/0.004668, allocations: 4.938 kB / 270 MB, free: 4.406 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.004883, allocations: 124.6 kB / 270.1 MB, free: 4.258 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.004903, allocations: 384 / 270.1 MB, free: 4.258 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.004916, allocations: 4.375 kB / 270.1 MB, free: 4.254 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003042/0.00522, allocations: 114.2 kB / 270.2 MB, free: 4.125 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.005228, allocations: 192 / 270.2 MB, free: 4.125 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.005239, allocations: 4.375 kB / 270.2 MB, free: 4.121 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.005249, allocations: 4.375 kB / 270.3 MB, free: 4.117 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.317e-05/0.005282, allocations: 11.88 kB / 270.3 MB, free: 4.105 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001191/0.005402, allocations: 116.5 kB / 270.4 MB, free: 3.957 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.701e-05/0.005489, allocations: 43.09 kB / 270.4 MB, free: 3.902 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.022e-05/0.005529, allocations: 19.72 kB / 270.4 MB, free: 3.879 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.674e-06/0.005536, allocations: 4 kB / 270.4 MB, free: 3.875 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.005564, allocations: 37.39 kB / 270.5 MB, free: 3.828 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.462e-06/0.005566, allocations: 0 / 270.5 MB, free: 3.828 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001507/0.005716, allocations: 49.62 kB / 270.5 MB, free: 3.773 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.00577, allocations: 55.41 kB / 270.6 MB, free: 3.707 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.909e-05/0.005859, allocations: 173.8 kB / 270.8 MB, free: 3.52 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.005876, allocations: 29.7 kB / 270.8 MB, free: 3.484 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.302e-05/0.005919, allocations: 126.9 kB / 270.9 MB, free: 3.355 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.245e-05/0.005932, allocations: 0 / 270.9 MB, free: 3.355 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.51e-05/0.005977, allocations: 23.36 kB / 270.9 MB, free: 3.324 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.006115, allocations: 0.4884 MB / 271.4 MB, free: 2.824 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.098e-05/0.006126, allocations: 4 kB / 271.4 MB, free: 2.82 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.783e-06/0.006133, allocations: 0 / 271.4 MB, free: 2.82 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.61e-05/0.006169, allocations: 15.62 kB / 271.4 MB, free: 2.801 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.006171, allocations: 0 / 271.4 MB, free: 2.801 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.471e-05/0.006236, allocations: 41.69 kB / 271.5 MB, free: 2.754 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.00625, allocations: 4 kB / 271.5 MB, free: 2.75 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.006254, allocations: 0 / 271.5 MB, free: 2.75 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.006267, allocations: 4 kB / 271.5 MB, free: 2.746 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.783e-05/0.006315, allocations: 4.094 kB / 271.5 MB, free: 2.742 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.006319, allocations: 0 / 271.5 MB, free: 2.742 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.358e-05/0.006333, allocations: 4.188 kB / 271.5 MB, free: 2.738 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.636e-06/0.006337, allocations: 4 kB / 271.5 MB, free: 2.734 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 7.385e-05/0.00641, allocations: 156.6 kB / 271.6 MB, free: 2.57 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.981e-05/0.00648, allocations: 57.75 kB / 271.7 MB, free: 2.508 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.641e-05/0.006507, allocations: 7.688 kB / 271.7 MB, free: 2.496 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.006509, allocations: 4 kB / 271.7 MB, free: 2.492 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.006512, allocations: 0 / 271.7 MB, free: 2.492 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/0.006516, allocations: 7.875 kB / 271.7 MB, free: 2.484 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.605e-05/0.006582, allocations: 112.6 kB / 271.8 MB, free: 2.34 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.006583, allocations: 4 kB / 271.8 MB, free: 2.336 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.622e-05/0.006619, allocations: 0 / 271.8 MB, free: 2.336 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.006622, allocations: 4 kB / 271.8 MB, free: 2.332 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.00663, allocations: 4 kB / 271.8 MB, free: 2.328 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.006632, allocations: 0 / 271.8 MB, free: 2.328 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.006633, allocations: 0 / 271.8 MB, free: 2.328 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.546e-05/0.006729, allocations: 96.3 kB / 271.9 MB, free: 2.211 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-06/0.006737, allocations: 3.953 kB / 271.9 MB, free: 2.207 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.006753, allocations: 4 kB / 271.9 MB, free: 2.203 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.432e-05/0.006778, allocations: 0 / 271.9 MB, free: 2.203 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.415e-06/0.00678, allocations: 4 kB / 272 MB, free: 2.199 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.006786, allocations: 4 kB / 272 MB, free: 2.195 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.833e-05/0.006835, allocations: 127.2 kB / 272.1 MB, free: 2.07 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.006835, allocations: 4 kB / 272.1 MB, free: 2.066 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001992/0.007034, allocations: 0 / 272.1 MB, free: 2.066 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 9.231e-05/0.007126, allocations: 99.19 kB / 272.2 MB, free: 1.957 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.995e-05/0.007206, allocations: 19.69 kB / 272.2 MB, free: 1.934 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.007208, allocations: 0 / 272.2 MB, free: 1.934 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.007209, allocations: 0 / 272.2 MB, free: 1.934 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.007413, allocations: 25.42 kB / 272.2 MB, free: 1.906 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002734/0.007686, allocations: 112.9 kB / 272.3 MB, free: 1.77 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.981e-05/0.007726, allocations: 59.34 kB / 272.4 MB, free: 1.691 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.408e-05/0.00774, allocations: 0 / 272.4 MB, free: 1.691 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.748e-05/0.007767, allocations: 16.5 kB / 272.4 MB, free: 1.676 MB / 250.7 MB Notification: Performance of SimCode: time 1.452e-06/0.007769, allocations: 0 / 272.4 MB, free: 1.676 MB / 250.7 MB Notification: Performance of Templates: time 0.002378/0.01015, allocations: 384.6 kB / 272.8 MB, free: 1.301 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 240] 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","",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.571646192111075]