Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.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.001553/0.001553, allocations: 114.5 kB / 21.18 MB, free: 0.7422 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.001672/0.001672, allocations: 211.4 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.437/1.437, allocations: 230.4 MB / 258.1 MB, free: 8.121 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-beta.om/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.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-beta.om_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-beta.om_Modelica.Blocks.Examples.BusUsage") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 71.78 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2319, allocations: 53.32 MB / 432.1 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003203/0.2351, allocations: 1.621 MB / 433.7 MB, free: 5.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009467/0.236, allocations: 0.4948 MB / 434.2 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.498e-05/0.2361, allocations: 0 / 434.2 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.484e-05/0.2362, allocations: 7.922 kB / 434.2 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.312e-05/0.2362, allocations: 19.81 kB / 434.2 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.2364, allocations: 23.97 kB / 434.2 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.2366, allocations: 71.7 kB / 434.3 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.2368, allocations: 36.2 kB / 434.3 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.2369, allocations: 39.78 kB / 434.4 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.603e-05/0.237, allocations: 31.8 kB / 434.4 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.237, allocations: 4 kB / 434.4 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.378e-05/0.237, allocations: 8 kB / 434.4 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.274e-05/0.2371, allocations: 19.92 kB / 434.4 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.879e-05/0.2371, allocations: 27.8 kB / 434.5 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.2373, allocations: 73.27 kB / 434.5 MB, free: 4.914 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2373, allocations: 0 / 434.5 MB, free: 4.914 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2373, allocations: 0 / 434.5 MB, free: 4.914 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.2373, allocations: 0 / 434.5 MB, free: 4.914 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.0006125/0.2379, allocations: 383.1 kB / 434.9 MB, free: 4.492 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.2379, allocations: 8.031 kB / 434.9 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.2381, allocations: 20.83 kB / 434.9 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.2383, allocations: 192.2 kB / 435.1 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.2384, allocations: 8.375 kB / 435.1 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.2384, allocations: 4.375 kB / 435.1 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002652/0.2386, allocations: 132.9 kB / 435.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.2387, allocations: 0 / 435.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.2387, allocations: 4 kB / 435.3 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.2387, allocations: 7.938 kB / 435.3 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001823/0.2389, allocations: 51.89 kB / 435.3 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000675/0.2395, allocations: 0.6342 MB / 436 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.2397, allocations: 113 kB / 436.1 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.2398, allocations: 56.28 kB / 436.1 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.2399, allocations: 4 kB / 436.1 MB, free: 3.086 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.2399, allocations: 34.56 kB / 436.2 MB, free: 3.043 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.2399, allocations: 0 / 436.2 MB, free: 3.043 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004761/0.2404, allocations: 125.9 kB / 436.3 MB, free: 2.914 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.702e-05/0.2405, allocations: 162.1 kB / 436.4 MB, free: 2.719 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.2406, allocations: 117.8 kB / 436.6 MB, free: 2.594 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.2406, allocations: 25.7 kB / 436.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.689e-05/0.2407, allocations: 100.1 kB / 436.7 MB, free: 2.461 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.2407, allocations: 19.84 kB / 436.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.235e-05/0.2407, allocations: 25.86 kB / 436.7 MB, free: 2.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.2409, allocations: 314.8 kB / 437 MB, free: 2.094 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.539e-05/0.2409, allocations: 23.98 kB / 437 MB, free: 2.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.241, allocations: 52.27 kB / 437.1 MB, free: 2.004 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.2412, allocations: 80.2 kB / 437.2 MB, free: 1.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.2412, allocations: 4 kB / 437.2 MB, free: 1.906 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002371/0.2415, allocations: 101.5 kB / 437.3 MB, free: 1.801 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.2415, allocations: 8 kB / 437.3 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2415, allocations: 0 / 437.3 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.2415, allocations: 7.984 kB / 437.3 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.2416, allocations: 15.92 kB / 437.3 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.2416, allocations: 3.938 kB / 437.3 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.856e-05/0.2417, allocations: 11.94 kB / 437.3 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.2417, allocations: 4.141 kB / 437.3 MB, free: 1.75 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.153e-05/0.2418, allocations: 121.8 kB / 437.5 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.821e-05/0.2419, allocations: 7.953 kB / 437.5 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.889e-05/0.2419, allocations: 19.48 kB / 437.5 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.2419, allocations: 0 / 437.5 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.2419, allocations: 4 kB / 437.5 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.006e-05/0.242, allocations: 96.92 kB / 437.6 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.242, allocations: 0 / 437.6 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.2422, allocations: 4 kB / 437.6 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.2423, allocations: 15.98 kB / 437.6 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004323/0.2427, allocations: 486 kB / 438.1 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004218/0.2431, allocations: 0.5584 MB / 438.6 MB, free: 408 kB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001041/0.2432, allocations: 31.97 kB / 438.7 MB, free: 376 kB / 334.1 MB Notification: Performance of sorting global known variables: time 6.022e-05/0.2433, allocations: 95.27 kB / 438.8 MB, free: 280 kB / 334.1 MB Notification: Performance of Backend: time 3.8e-07/0.2433, allocations: 3.938 kB / 438.8 MB, free: 276 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007294/0.244, allocations: 102.4 kB / 438.9 MB, free: 164 kB / 334.1 MB Notification: Performance of SimCode: time 0.0005723/0.2446, allocations: 0.6178 MB / 439.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of Templates: time 0.003328/0.2479, allocations: 0.7891 MB / 440.3 MB, free: 14.71 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.293979852925986]