Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.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.001319/0.001319, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.001485/0.001485, allocations: 216.6 kB / 24.49 MB, free: 3.93 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.457/1.457, allocations: 230.6 MB / 258.3 MB, free: 7.73 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.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|controlBus.realSignal1|controlBus.integerSignal|controlBus.booleanSignal|controlBus.subControlBus.myRealSignal|controlBus.subControlBus.myBooleanSignal",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage") translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|controlBus.realSignal1|controlBus.integerSignal|controlBus.booleanSignal|controlBus.subControlBus.myRealSignal|controlBus.subControlBus.myBooleanSignal",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 51.91 kB / 379 MB, free: 2.523 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2252, allocations: 53.37 MB / 432.3 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003129/0.2283, allocations: 1.599 MB / 433.9 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009576/0.2292, allocations: 466.7 kB / 434.4 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.884e-05/0.2293, allocations: 0 / 434.4 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.667e-05/0.2294, allocations: 15.92 kB / 434.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.362e-05/0.2294, allocations: 15.8 kB / 434.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.2297, allocations: 27.97 kB / 434.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.2298, allocations: 63.72 kB / 434.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.23, allocations: 36.2 kB / 434.5 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.2301, allocations: 43.78 kB / 434.6 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.177e-05/0.2302, allocations: 27.86 kB / 434.6 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.2302, allocations: 4 kB / 434.6 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.248e-05/0.2302, allocations: 8 kB / 434.6 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.2302, allocations: 15.92 kB / 434.6 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.433e-05/0.2303, allocations: 23.88 kB / 434.7 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.2304, allocations: 83.14 kB / 434.7 MB, free: 4.262 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2304, allocations: 0 / 434.7 MB, free: 4.262 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2304, allocations: 0 / 434.7 MB, free: 4.262 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.2304, allocations: 0 / 434.7 MB, free: 4.262 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005079/0.2309, allocations: 314.8 kB / 435.1 MB, free: 3.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.231, allocations: 8.031 kB / 435.1 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.2311, allocations: 20.83 kB / 435.1 MB, free: 3.902 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.2314, allocations: 130.4 kB / 435.2 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.2314, allocations: 8.375 kB / 435.2 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.2314, allocations: 4.375 kB / 435.2 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.2316, allocations: 117.9 kB / 435.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.2317, allocations: 0 / 435.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.2317, allocations: 8 kB / 435.3 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.2317, allocations: 0 / 435.3 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001938/0.2319, allocations: 63.83 kB / 435.4 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005985/0.2325, allocations: 0.5675 MB / 436 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.2326, allocations: 109.1 kB / 436.1 MB, free: 2.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.2328, allocations: 64.2 kB / 436.1 MB, free: 2.691 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.2328, allocations: 4 kB / 436.1 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.2328, allocations: 34.56 kB / 436.2 MB, free: 2.645 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.2328, allocations: 0 / 436.2 MB, free: 2.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004657/0.2333, allocations: 122.1 kB / 436.3 MB, free: 2.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.737e-05/0.2334, allocations: 158.2 kB / 436.5 MB, free: 2.328 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.2335, allocations: 125.9 kB / 436.6 MB, free: 2.195 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.2335, allocations: 25.7 kB / 436.6 MB, free: 2.164 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.894e-05/0.2336, allocations: 104 kB / 436.7 MB, free: 2.059 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.2336, allocations: 19.83 kB / 436.7 MB, free: 2.039 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/0.2336, allocations: 17.72 kB / 436.7 MB, free: 2.016 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.2338, allocations: 326.8 kB / 437.1 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.34e-05/0.2338, allocations: 19.98 kB / 437.1 MB, free: 1.668 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.2339, allocations: 48.28 kB / 437.1 MB, free: 1.605 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001802/0.2341, allocations: 80.2 kB / 437.2 MB, free: 1.512 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.2341, allocations: 7.984 kB / 437.2 MB, free: 1.504 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002381/0.2344, allocations: 97.67 kB / 437.3 MB, free: 1.402 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.2344, allocations: 8 kB / 437.3 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.2344, allocations: 4 kB / 437.3 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.2344, allocations: 4 kB / 437.3 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.705e-05/0.2345, allocations: 12 kB / 437.3 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.2345, allocations: 7.969 kB / 437.3 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.896e-05/0.2346, allocations: 11.94 kB / 437.4 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.2346, allocations: 0 / 437.4 MB, free: 1.355 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (integerStep.y,booleanStep.y,part.subControlBus.myBooleanSignal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 9.4e-05/0.2347, allocations: 121.8 kB / 437.5 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.76e-05/0.2348, allocations: 8.047 kB / 437.5 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.2e-05/0.2348, allocations: 19.56 kB / 437.5 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.2348, allocations: 0 / 437.5 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2348, allocations: 4 kB / 437.5 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.576e-05/0.2348, allocations: 11.89 kB / 437.5 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.2349, allocations: 7.938 kB / 437.5 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/0.2351, allocations: 7.984 kB / 437.5 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.2351, allocations: 7.984 kB / 437.5 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004248/0.2356, allocations: 493.9 kB / 438 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004109/0.236, allocations: 0.5583 MB / 438.6 MB, free: 88 kB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000102/0.2361, allocations: 27.97 kB / 438.6 MB, free: 60 kB / 334.1 MB Notification: Performance of sorting global known variables: time 7.47e-05/0.2362, allocations: 95.42 kB / 438.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of Backend: time 3e-07/0.2362, allocations: 0 / 438.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007501/0.2369, allocations: 111.2 kB / 438.8 MB, free: 15.85 MB / 350.1 MB Notification: Performance of SimCode: time 0.000546/0.2375, allocations: 0.613 MB / 439.4 MB, free: 15.19 MB / 350.1 MB Notification: Performance of Templates: time 0.003401/0.2409, allocations: 0.8645 MB / 440.3 MB, free: 14.34 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.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.26409095699637]