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.001328/0.001328, allocations: 82.36 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001346/0.001346, allocations: 146.7 kB / 23.94 MB, free: 4.16 MB / 14.72 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.421/1.421, allocations: 173.3 MB / 200.4 MB, free: 12.84 MB / 190.1 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 1.683e-06/1.683e-06, allocations: 0 / 318.9 MB, free: 3.551 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.942e-05/3.11e-05, allocations: 5.094 kB / 318.9 MB, free: 3.547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002715/0.002747, allocations: 1.423 MB / 320.3 MB, free: 2.574 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002028/0.002949, allocations: 26.5 kB / 320.4 MB, free: 2.559 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.599e-05/0.003015, allocations: 4 kB / 320.4 MB, free: 2.555 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.317e-05/0.003048, allocations: 4.547 kB / 320.4 MB, free: 2.551 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.413e-05/0.003083, allocations: 1.688 kB / 320.4 MB, free: 2.551 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.003343, allocations: 22.92 kB / 320.4 MB, free: 2.539 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.907e-05/0.003442, allocations: 30.53 kB / 320.4 MB, free: 2.523 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.003556, allocations: 8.812 kB / 320.4 MB, free: 2.52 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.498e-05/0.003611, allocations: 17.36 kB / 320.5 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.29e-05/0.003654, allocations: 9.797 kB / 320.5 MB, free: 2.508 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.313e-05/0.003687, allocations: 2.125 kB / 320.5 MB, free: 2.508 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.078e-05/0.003698, allocations: 3.062 kB / 320.5 MB, free: 2.508 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.254e-05/0.003721, allocations: 10.7 kB / 320.5 MB, free: 2.5 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.104e-05/0.003752, allocations: 19.81 kB / 320.5 MB, free: 2.484 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.003863, allocations: 24.89 kB / 320.5 MB, free: 2.477 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.003865, allocations: 0 / 320.5 MB, free: 2.477 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.003866, allocations: 0 / 320.5 MB, free: 2.477 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.00387, allocations: 0 / 320.5 MB, free: 2.477 MB / 286.1 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.000412/0.004282, allocations: 270.6 kB / 320.8 MB, free: 2.203 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.004321, allocations: 9.125 kB / 320.8 MB, free: 2.203 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/0.004353, allocations: 2.438 kB / 320.8 MB, free: 2.203 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.004524, allocations: 125.7 kB / 320.9 MB, free: 2.062 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.004544, allocations: 6.969 kB / 320.9 MB, free: 2.059 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.004559, allocations: 5.812 kB / 320.9 MB, free: 2.055 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003293/0.004888, allocations: 116.3 kB / 321.1 MB, free: 1.984 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.004898, allocations: 192 / 321.1 MB, free: 1.984 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.004907, allocations: 4.375 kB / 321.1 MB, free: 1.98 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.004912, allocations: 5.469 kB / 321.1 MB, free: 1.977 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.005019, allocations: 21.27 kB / 321.1 MB, free: 1.973 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.466e-05/0.005114, allocations: 104 kB / 321.2 MB, free: 1.848 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.005261, allocations: 47.86 kB / 321.2 MB, free: 1.816 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.396e-05/0.005335, allocations: 31.83 kB / 321.3 MB, free: 1.797 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.368e-06/0.005344, allocations: 1.188 kB / 321.3 MB, free: 1.797 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.506e-05/0.005359, allocations: 32.47 kB / 321.3 MB, free: 1.758 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.00536, allocations: 0 / 321.3 MB, free: 1.758 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002931/0.005653, allocations: 72.78 kB / 321.4 MB, free: 1.719 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.005699, allocations: 54.03 kB / 321.4 MB, free: 1.656 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.56e-05/0.005774, allocations: 105.6 kB / 321.5 MB, free: 1.551 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.005788, allocations: 31.11 kB / 321.6 MB, free: 1.516 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.862e-05/0.005817, allocations: 81.22 kB / 321.6 MB, free: 1.434 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.205e-05/0.005829, allocations: 5.391 kB / 321.6 MB, free: 1.43 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-05/0.005855, allocations: 21.77 kB / 321.7 MB, free: 1.406 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.837e-05/0.005914, allocations: 314.2 kB / 322 MB, free: 1.094 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.112e-05/0.005925, allocations: 5.438 kB / 322 MB, free: 1.09 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.403e-06/0.005932, allocations: 1.531 kB / 322 MB, free: 1.09 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.596e-05/0.005958, allocations: 14.23 kB / 322 MB, free: 1.078 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.00596, allocations: 0 / 322 MB, free: 1.078 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.185e-05/0.006012, allocations: 34.88 kB / 322 MB, free: 1.047 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.006028, allocations: 7.219 kB / 322 MB, free: 1.047 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.006032, allocations: 0 / 322 MB, free: 1.047 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/0.006057, allocations: 4.094 kB / 322 MB, free: 1.043 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.7e-05/0.006114, allocations: 3.438 kB / 322 MB, free: 1.043 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.00612, allocations: 1.031 kB / 322 MB, free: 1.043 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.586e-05/0.006136, allocations: 17 kB / 322.1 MB, free: 1.027 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-06/0.006139, allocations: 3.938 kB / 322.1 MB, free: 1.023 MB / 286.1 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 6.238e-05/0.006201, allocations: 109.3 kB / 322.2 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/0.006354, allocations: 64.81 kB / 322.2 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.844e-05/0.006382, allocations: 10.06 kB / 322.2 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.006384, allocations: 0 / 322.2 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.006388, allocations: 0 / 322.2 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.006393, allocations: 9.594 kB / 322.2 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.714e-05/0.00645, allocations: 103.7 kB / 322.3 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.006451, allocations: 0 / 322.3 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.477e-05/0.006486, allocations: 5.047 kB / 322.4 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.006488, allocations: 0 / 322.4 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.006499, allocations: 3.484 kB / 322.4 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.0065, allocations: 0 / 322.4 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.006502, allocations: 4 kB / 322.4 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.006673, allocations: 95.72 kB / 322.5 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.037e-06/0.006682, allocations: 2.422 kB / 322.5 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.006698, allocations: 1.219 kB / 322.5 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.237e-05/0.006731, allocations: 9.203 kB / 322.5 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.111e-05/0.006742, allocations: 0 / 322.5 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.006747, allocations: 1.656 kB / 322.5 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.095e-05/0.006778, allocations: 84.78 kB / 322.5 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of sort global known variables: time 8e-08/0.006779, allocations: 0 / 322.5 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001846/0.006963, allocations: 2.844 kB / 322.6 MB, free: 0.5547 MB / 286.1 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.0001038/0.007067, allocations: 104.6 kB / 322.7 MB, free: 468 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000141/0.007208, allocations: 23.67 kB / 322.7 MB, free: 460 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.00721, allocations: 0 / 322.7 MB, free: 460 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.01e-07/0.00721, allocations: 5.344 kB / 322.7 MB, free: 456 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.007466, allocations: 24.28 kB / 322.7 MB, free: 448 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002638/0.00773, allocations: 114.1 kB / 322.8 MB, free: 332 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.021e-05/0.00777, allocations: 63.19 kB / 322.9 MB, free: 260 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.599e-05/0.007786, allocations: 1.984 kB / 322.9 MB, free: 260 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.942e-05/0.007816, allocations: 9.75 kB / 322.9 MB, free: 252 kB / 286.1 MB Notification: Performance of SimCode: time 5.21e-07/0.007816, allocations: 0 / 322.9 MB, free: 252 kB / 286.1 MB Notification: Performance of Templates: time 0.002702/0.01052, allocations: 377.2 kB / 323.3 MB, free: 176 kB / 286.1 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.120259553194046]