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.001796/0.001796, allocations: 113.8 kB / 19.18 MB, free: 3.762 MB / 14.72 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.002193/0.002193, allocations: 208.9 kB / 22.13 MB, free: 0.8125 MB / 14.72 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 1.456/1.456, allocations: 230.2 MB / 255.1 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00183/0.00183, allocations: 59.91 kB / 374.5 MB, free: 9.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09184/0.09367, allocations: 53.32 MB / 427.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002577/0.09625, allocations: 1.426 MB / 429.3 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001705/0.09642, allocations: 39.84 kB / 429.3 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.21e-05/0.09647, allocations: 0 / 429.3 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.604e-05/0.0965, allocations: 3.938 kB / 429.3 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.148e-05/0.09653, allocations: 3.938 kB / 429.3 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.09674, allocations: 15.98 kB / 429.3 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.742e-05/0.09682, allocations: 27.92 kB / 429.3 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.716e-05/0.09691, allocations: 15.97 kB / 429.4 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.311e-05/0.09695, allocations: 15.94 kB / 429.4 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.749e-05/0.09699, allocations: 11.92 kB / 429.4 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.09701, allocations: 4 kB / 429.4 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.969e-06/0.09702, allocations: 4 kB / 429.4 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.09704, allocations: 4 kB / 429.4 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.188e-05/0.09707, allocations: 11.94 kB / 429.4 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.52e-05/0.09716, allocations: 31.81 kB / 429.4 MB, free: 2.883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.09716, allocations: 0 / 429.4 MB, free: 2.883 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.09716, allocations: 0 / 429.4 MB, free: 2.883 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.09717, allocations: 4 kB / 429.4 MB, free: 2.879 MB / 350.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.0004397/0.09761, allocations: 343.5 kB / 429.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.09764, allocations: 8.031 kB / 429.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.09768, allocations: 12.81 kB / 429.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.09788, allocations: 180.2 kB / 430 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/0.0979, allocations: 4.375 kB / 430 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.09791, allocations: 4.375 kB / 430 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003349/0.09825, allocations: 115.9 kB / 430.1 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.09826, allocations: 4.172 kB / 430.1 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.09827, allocations: 3.938 kB / 430.1 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.09827, allocations: 0 / 430.1 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.09837, allocations: 19.98 kB / 430.1 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/0.09854, allocations: 157.7 kB / 430.3 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.09868, allocations: 50.5 kB / 430.3 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.309e-05/0.09875, allocations: 28.92 kB / 430.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.09876, allocations: 0 / 430.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.0988, allocations: 34.55 kB / 430.4 MB, free: 1.762 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.0988, allocations: 0 / 430.4 MB, free: 1.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002609/0.09906, allocations: 81.5 kB / 430.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.09912, allocations: 55.41 kB / 430.5 MB, free: 1.609 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.178e-05/0.09921, allocations: 105.8 kB / 430.6 MB, free: 1.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.09923, allocations: 25.7 kB / 430.7 MB, free: 1.465 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.29e-05/0.09927, allocations: 96.12 kB / 430.8 MB, free: 1.367 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.02e-05/0.09928, allocations: 0 / 430.8 MB, free: 1.367 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.09932, allocations: 21.7 kB / 430.8 MB, free: 1.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.09946, allocations: 310.8 kB / 431.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.581e-05/0.09947, allocations: 8 kB / 431.1 MB, free: 1.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.097e-05/0.09951, allocations: 23.44 kB / 431.1 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.039e-05/0.09956, allocations: 43.36 kB / 431.1 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.09956, allocations: 0 / 431.1 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.108e-05/0.09965, allocations: 65.58 kB / 431.2 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.09966, allocations: 4 kB / 431.2 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.09967, allocations: 12.06 kB / 431.2 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.09968, allocations: 3.938 kB / 431.2 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.744e-05/0.09973, allocations: 7.938 kB / 431.2 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.09973, allocations: 3.984 kB / 431.2 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.017e-05/0.09975, allocations: 4 kB / 431.2 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-06/0.09976, allocations: 0 / 431.2 MB, free: 0.8242 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.665e-05/0.09984, allocations: 113.8 kB / 431.4 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/0.09998, allocations: 57.67 kB / 431.4 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.832e-05/0.1, allocations: 11.44 kB / 431.4 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.1, allocations: 11.88 kB / 431.4 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.1, allocations: 4 kB / 431.4 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.1, allocations: 0 / 431.4 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.1001, allocations: 157.7 kB / 431.6 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1001, allocations: 0 / 431.6 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.951e-05/0.1002, allocations: 0 / 431.6 MB, free: 412 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.1002, allocations: 4 kB / 431.6 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.1002, allocations: 3.938 kB / 431.6 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1002, allocations: 0 / 431.6 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.1002, allocations: 3.984 kB / 431.6 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.1004, allocations: 93.28 kB / 431.7 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.199e-05/0.1004, allocations: 81.11 kB / 431.8 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.1004, allocations: 7.938 kB / 431.8 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.971e-05/0.1004, allocations: 4.375 kB / 431.8 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-06/0.1004, allocations: 0 / 431.8 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.1005, allocations: 4 kB / 431.8 MB, free: 172 kB / 350.1 MB Notification: Performance of sorting global known variables: time 5.323e-05/0.1005, allocations: 83.27 kB / 431.9 MB, free: 88 kB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1005, allocations: 3.938 kB / 431.9 MB, free: 84 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001949/0.1007, allocations: 12 kB / 431.9 MB, free: 72 kB / 350.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.0001189/0.1008, allocations: 95.25 kB / 432 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001259/0.1009, allocations: 23.98 kB / 432 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1009, allocations: 0 / 432 MB, free: 15.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.294e-06/0.1009, allocations: 7.938 kB / 432 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.1012, allocations: 20.02 kB / 432 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002963/0.1015, allocations: 147.5 kB / 432.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.1018, allocations: 0.6807 MB / 432.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.606e-05/0.1018, allocations: 15.42 kB / 432.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1018, allocations: 0 / 432.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of Templates: time 0.002029/0.1038, allocations: 0.5971 MB / 433.5 MB, free: 14.42 MB / 366.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 6.424159062094986]