Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 210.7 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.482/1.482, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 43.94 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2276, allocations: 53.37 MB / 432.3 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002608/0.2302, allocations: 1.441 MB / 433.8 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001773/0.2304, allocations: 31.91 kB / 433.8 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.998e-05/0.2304, allocations: 0 / 433.8 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.056e-05/0.2305, allocations: 3.938 kB / 433.8 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.042e-05/0.2305, allocations: 7.875 kB / 433.8 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.2307, allocations: 23.97 kB / 433.8 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.881e-05/0.2308, allocations: 31.92 kB / 433.9 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.456e-05/0.2309, allocations: 11.8 kB / 433.9 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.337e-05/0.2309, allocations: 15.92 kB / 433.9 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.281e-05/0.231, allocations: 7.938 kB / 433.9 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.231, allocations: 4 kB / 433.9 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.618e-06/0.231, allocations: 4 kB / 433.9 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.936e-05/0.231, allocations: 7.984 kB / 433.9 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.781e-05/0.231, allocations: 11.92 kB / 433.9 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.406e-05/0.2311, allocations: 27.84 kB / 433.9 MB, free: 5.254 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2311, allocations: 4 kB / 434 MB, free: 5.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2311, allocations: 4 kB / 434 MB, free: 5.246 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.2311, allocations: 0 / 434 MB, free: 5.246 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.0003908/0.2315, allocations: 265.4 kB / 434.2 MB, free: 4.957 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.2316, allocations: 12.03 kB / 434.2 MB, free: 4.945 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.828e-05/0.2316, allocations: 0.9375 kB / 434.2 MB, free: 4.945 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.2318, allocations: 118.5 kB / 434.3 MB, free: 4.805 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.2318, allocations: 4.375 kB / 434.3 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.2318, allocations: 8.312 kB / 434.4 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003577/0.2322, allocations: 127.8 kB / 434.5 MB, free: 4.656 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.2322, allocations: 192 / 434.5 MB, free: 4.656 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.2322, allocations: 3.938 kB / 434.5 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2322, allocations: 0 / 434.5 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.2323, allocations: 23.97 kB / 434.5 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001163/0.2324, allocations: 97.33 kB / 434.6 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.2326, allocations: 54.48 kB / 434.7 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.307e-05/0.2326, allocations: 24.92 kB / 434.7 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.592e-06/0.2326, allocations: 0 / 434.7 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.2327, allocations: 30.56 kB / 434.7 MB, free: 4.375 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.2327, allocations: 4 kB / 434.7 MB, free: 4.371 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002689/0.2329, allocations: 77.56 kB / 434.8 MB, free: 4.289 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.128e-05/0.233, allocations: 63.39 kB / 434.9 MB, free: 4.215 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.192e-05/0.2331, allocations: 101.9 kB / 435 MB, free: 4.105 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.2331, allocations: 25.7 kB / 435 MB, free: 4.074 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.109e-05/0.2332, allocations: 88.08 kB / 435.1 MB, free: 3.984 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.469e-05/0.2332, allocations: 7.984 kB / 435.1 MB, free: 3.977 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.2332, allocations: 13.72 kB / 435.1 MB, free: 3.957 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.2334, allocations: 318.8 kB / 435.4 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.168e-05/0.2334, allocations: 4 kB / 435.4 MB, free: 3.633 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.822e-05/0.2334, allocations: 35.42 kB / 435.4 MB, free: 3.586 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.231e-05/0.2335, allocations: 43.31 kB / 435.5 MB, free: 3.531 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2335, allocations: 0 / 435.5 MB, free: 3.531 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001101/0.2336, allocations: 65.58 kB / 435.5 MB, free: 3.461 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.2336, allocations: 4 kB / 435.5 MB, free: 3.457 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.2336, allocations: 0 / 435.5 MB, free: 3.457 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.2336, allocations: 12.06 kB / 435.6 MB, free: 3.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.184e-05/0.2337, allocations: 4 kB / 435.6 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.2337, allocations: 3.938 kB / 435.6 MB, free: 3.438 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.929e-05/0.2337, allocations: 0 / 435.6 MB, free: 3.438 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.2337, allocations: 4 kB / 435.6 MB, free: 3.434 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.727e-05/0.2338, allocations: 121.8 kB / 435.7 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.2339, allocations: 53.69 kB / 435.7 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.748e-05/0.234, allocations: 11.67 kB / 435.7 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.234, allocations: 3.938 kB / 435.8 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.234, allocations: 0 / 435.8 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.234, allocations: 4 kB / 435.8 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.436e-05/0.234, allocations: 97.33 kB / 435.9 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.234, allocations: 4.219 kB / 435.9 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.245e-05/0.2341, allocations: 4 kB / 435.9 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2341, allocations: 0 / 435.9 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.2341, allocations: 11.94 kB / 435.9 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2341, allocations: 0 / 435.9 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.2341, allocations: 7.922 kB / 435.9 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.2343, allocations: 85.06 kB / 436 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-06/0.2343, allocations: 4 kB / 436 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.2343, allocations: 384 / 436 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.405e-05/0.2343, allocations: 11.98 kB / 436 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.568e-05/0.2343, allocations: 7.938 kB / 436 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.2344, allocations: 0 / 436 MB, free: 2.945 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.468e-05/0.2344, allocations: 87.22 kB / 436.1 MB, free: 2.859 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2344, allocations: 0 / 436.1 MB, free: 2.859 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001943/0.2346, allocations: 4 kB / 436.1 MB, free: 2.855 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 0.0001342/0.2347, allocations: 99.23 kB / 436.2 MB, free: 2.746 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000153/0.2349, allocations: 31.92 kB / 436.2 MB, free: 2.715 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2349, allocations: 256 / 436.2 MB, free: 2.715 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.2349, allocations: 4 kB / 436.2 MB, free: 2.711 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.2352, allocations: 26.67 kB / 436.2 MB, free: 2.688 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003593/0.2355, allocations: 121.6 kB / 436.4 MB, free: 2.543 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.117e-05/0.2356, allocations: 63.34 kB / 436.4 MB, free: 2.461 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.139e-05/0.2356, allocations: 4 kB / 436.4 MB, free: 2.457 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.965e-05/0.2356, allocations: 7.438 kB / 436.4 MB, free: 2.449 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2356, allocations: 0 / 436.4 MB, free: 2.449 MB / 334.1 MB Notification: Performance of Templates: time 0.002631/0.2383, allocations: 421.3 kB / 436.8 MB, free: 2.043 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.296672611992108]