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.00176/0.00176, allocations: 100 kB / 21.18 MB, free: 0.6484 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.00138/0.00138, allocations: 184.9 kB / 24.45 MB, free: 3.961 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.462/1.462, allocations: 225.7 MB / 253.3 MB, free: 12.81 MB / 206.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 0.001619/0.001619, allocations: 51.91 kB / 371.6 MB, free: 9.262 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2223, allocations: 52.17 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002765/0.2251, allocations: 1.437 MB / 425.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001741/0.2252, allocations: 27.94 kB / 425.3 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.091e-05/0.2253, allocations: 0 / 425.3 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.607e-05/0.2253, allocations: 7.922 kB / 425.3 MB, free: 13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.647e-05/0.2254, allocations: 3.938 kB / 425.3 MB, free: 13 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.2256, allocations: 19.97 kB / 425.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.112e-05/0.2256, allocations: 27.94 kB / 425.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.646e-05/0.2257, allocations: 7.984 kB / 425.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.629e-05/0.2258, allocations: 15.98 kB / 425.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.474e-05/0.2258, allocations: 15.86 kB / 425.4 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.2258, allocations: 4 kB / 425.4 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.009e-05/0.2258, allocations: 4 kB / 425.4 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.708e-05/0.2258, allocations: 3.938 kB / 425.4 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.699e-05/0.2259, allocations: 15.92 kB / 425.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.956e-05/0.226, allocations: 31.69 kB / 425.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.226, allocations: 4 kB / 425.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.226, allocations: 0 / 425.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.226, allocations: 0 / 425.4 MB, free: 12.86 MB / 334.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.000384/0.2264, allocations: 264.1 kB / 425.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.2264, allocations: 16.03 kB / 425.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.666e-05/0.2264, allocations: 0.9375 kB / 425.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.2266, allocations: 122.5 kB / 425.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.2266, allocations: 384 / 425.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.2266, allocations: 4.375 kB / 425.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003131/0.2269, allocations: 119.8 kB / 426 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.227, allocations: 192 / 426 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.227, allocations: 7.938 kB / 426 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.227, allocations: 4 kB / 426 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.659e-05/0.2271, allocations: 19.98 kB / 426 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001204/0.2272, allocations: 105.3 kB / 426.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.2273, allocations: 50.55 kB / 426.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.952e-05/0.2274, allocations: 24.92 kB / 426.2 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.2274, allocations: 0 / 426.2 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.2274, allocations: 34.5 kB / 426.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.2274, allocations: 3.938 kB / 426.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002472/0.2277, allocations: 81.53 kB / 426.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.2277, allocations: 55.41 kB / 426.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.629e-05/0.2278, allocations: 105.8 kB / 426.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.2278, allocations: 29.7 kB / 426.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.275e-05/0.2279, allocations: 84.14 kB / 426.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.088e-05/0.2279, allocations: 3.953 kB / 426.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.177e-05/0.2279, allocations: 17.72 kB / 426.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.2281, allocations: 314.8 kB / 426.9 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.577e-05/0.2281, allocations: 8 kB / 426.9 MB, free: 11.24 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.338e-05/0.2281, allocations: 35.38 kB / 426.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.157e-05/0.2282, allocations: 43.36 kB / 427 MB, free: 11.14 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2282, allocations: 0 / 427 MB, free: 11.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.65e-05/0.2283, allocations: 53.64 kB / 427 MB, free: 11.08 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.2283, allocations: 7.984 kB / 427 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.2283, allocations: 0 / 427 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.2283, allocations: 7.938 kB / 427 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.348e-05/0.2284, allocations: 4 kB / 427 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.217e-06/0.2284, allocations: 0 / 427 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.077e-05/0.2284, allocations: 8.062 kB / 427 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.2284, allocations: 8 kB / 427 MB, free: 11.05 MB / 334.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.779e-05/0.2285, allocations: 113.8 kB / 427.2 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.2286, allocations: 65.62 kB / 427.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.981e-05/0.2286, allocations: 3.688 kB / 427.2 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.2286, allocations: 3.938 kB / 427.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.2286, allocations: 0 / 427.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.2286, allocations: 0 / 427.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.664e-05/0.2287, allocations: 105.3 kB / 427.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2287, allocations: 0 / 427.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.948e-05/0.2288, allocations: 8 kB / 427.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2288, allocations: 3.938 kB / 427.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.2288, allocations: 4.359 kB / 427.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.2288, allocations: 4 kB / 427.4 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.2288, allocations: 7.938 kB / 427.4 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.2289, allocations: 85.05 kB / 427.4 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.004e-05/0.229, allocations: 7.953 kB / 427.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.229, allocations: 0 / 427.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.973e-05/0.229, allocations: 8 kB / 427.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-06/0.229, allocations: 8.156 kB / 427.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.229, allocations: 0 / 427.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.592e-05/0.2291, allocations: 87.27 kB / 427.6 MB, free: 10.47 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2291, allocations: 0 / 427.6 MB, free: 10.47 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001868/0.2292, allocations: 8 kB / 427.6 MB, free: 10.46 MB / 334.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 9.569e-05/0.2293, allocations: 95.25 kB / 427.7 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001203/0.2295, allocations: 31.91 kB / 427.7 MB, free: 10.33 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.2295, allocations: 4 kB / 427.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.2295, allocations: 0 / 427.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.2297, allocations: 24.22 kB / 427.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002754/0.23, allocations: 149.5 kB / 427.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.112e-05/0.23, allocations: 67.2 kB / 427.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/0.23, allocations: 15.42 kB / 427.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.23, allocations: 0 / 427.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of Templates: time 0.002019/0.2321, allocations: 0.5939 MB / 428.5 MB, free: 9.43 MB / 334.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/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: 6.669401778839529]