Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001801/0.001801, allocations: 106.2 kB / 19.8 MB, free: 2.5 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.002412/0.002412, allocations: 215.7 kB / 22.99 MB, free: 5.578 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.492/1.492, allocations: 230.2 MB / 256.2 MB, free: 8.547 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.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_trunk_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_trunk_Modelica.Blocks.Examples.BusUsage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 71.88 kB / 376.5 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3777, allocations: 53.31 MB / 429.8 MB, free: 7.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003848/0.3816, allocations: 1.63 MB / 431.4 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.3826, allocations: 0.4909 MB / 431.9 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.74e-05/0.3827, allocations: 0 / 431.9 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.491e-05/0.3828, allocations: 11.88 kB / 431.9 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.283e-05/0.3829, allocations: 7.875 kB / 431.9 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.3831, allocations: 35.89 kB / 432 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.3833, allocations: 59.78 kB / 432 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002059/0.3835, allocations: 36.2 kB / 432 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.3836, allocations: 31.86 kB / 432.1 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.747e-05/0.3837, allocations: 27.84 kB / 432.1 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.3837, allocations: 15.94 kB / 432.1 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.248e-05/0.3838, allocations: 15.98 kB / 432.1 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.3838, allocations: 4 kB / 432.1 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.726e-05/0.3838, allocations: 35.8 kB / 432.2 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.384, allocations: 73.19 kB / 432.2 MB, free: 5.047 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.384, allocations: 0 / 432.2 MB, free: 5.047 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.384, allocations: 0 / 432.2 MB, free: 5.047 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.384, allocations: 3.938 kB / 432.3 MB, free: 5.043 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.0006482/0.3847, allocations: 386.8 kB / 432.6 MB, free: 4.621 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.3847, allocations: 16.03 kB / 432.6 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001627/0.3849, allocations: 12.89 kB / 432.7 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.3851, allocations: 188.2 kB / 432.8 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.3852, allocations: 384 / 432.8 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.3852, allocations: 8.375 kB / 432.9 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.3855, allocations: 130.2 kB / 433 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3855, allocations: 0 / 433 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.3855, allocations: 4 kB / 433 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3855, allocations: 0 / 433 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.3857, allocations: 59.89 kB / 433 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008098/0.3865, allocations: 0.6381 MB / 433.7 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.3867, allocations: 117.1 kB / 433.8 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.3868, allocations: 48.28 kB / 433.8 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.3868, allocations: 4 kB / 433.8 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.3869, allocations: 42.48 kB / 433.9 MB, free: 3.172 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.3869, allocations: 0 / 433.9 MB, free: 3.172 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004628/0.3873, allocations: 125.4 kB / 434 MB, free: 3.043 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.3875, allocations: 166.8 kB / 434.2 MB, free: 2.844 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.3876, allocations: 121.8 kB / 434.3 MB, free: 2.715 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.3876, allocations: 29.69 kB / 434.3 MB, free: 2.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.346e-05/0.3877, allocations: 100 kB / 434.4 MB, free: 2.578 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.3877, allocations: 7.906 kB / 434.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.897e-05/0.3878, allocations: 25.7 kB / 434.4 MB, free: 2.539 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.3879, allocations: 314.8 kB / 434.8 MB, free: 2.223 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.149e-05/0.388, allocations: 31.91 kB / 434.8 MB, free: 2.191 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.919e-05/0.3881, allocations: 48.41 kB / 434.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.3883, allocations: 84.2 kB / 434.9 MB, free: 2.031 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3883, allocations: 0 / 434.9 MB, free: 2.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002266/0.3885, allocations: 97.48 kB / 435 MB, free: 1.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.3885, allocations: 8 kB / 435 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.3885, allocations: 4.156 kB / 435 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.3885, allocations: 0 / 435 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.3887, allocations: 19.98 kB / 435 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.3887, allocations: 0 / 435 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.089e-05/0.3887, allocations: 15.88 kB / 435.1 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.3887, allocations: 4 kB / 435.1 MB, free: 1.879 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 0.0001089/0.3888, allocations: 113.8 kB / 435.2 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.011e-05/0.3889, allocations: 4 kB / 435.2 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.906e-05/0.389, allocations: 23.47 kB / 435.2 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.389, allocations: 0 / 435.2 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.389, allocations: 7.938 kB / 435.2 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.389, allocations: 3.938 kB / 435.2 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004/0.3894, allocations: 193.5 kB / 435.4 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3894, allocations: 0 / 435.4 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.646e-05/0.3895, allocations: 15.98 kB / 435.4 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3895, allocations: 0 / 435.4 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.3895, allocations: 4 kB / 435.4 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.3895, allocations: 7.938 kB / 435.4 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3895, allocations: 4 kB / 435.4 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004159/0.3899, allocations: 484.5 kB / 435.9 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.424e-05/0.39, allocations: 93.06 kB / 436 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.39, allocations: 4 kB / 436 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.3902, allocations: 7.984 kB / 436 MB, free: 0.832 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.934e-05/0.3902, allocations: 15.92 kB / 436 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.3902, allocations: 4 kB / 436 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.962e-05/0.3903, allocations: 95.64 kB / 436.1 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3903, allocations: 3.938 kB / 436.1 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000373/0.3907, allocations: 8 kB / 436.1 MB, free: 0.707 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0001393/0.3908, allocations: 107.2 kB / 436.2 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002528/0.3911, allocations: 51.97 kB / 436.3 MB, free: 0.543 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.3911, allocations: 0 / 436.3 MB, free: 0.543 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.3912, allocations: 36.41 kB / 436.3 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005283/0.3917, allocations: 18.73 kB / 436.3 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005219/0.3923, allocations: 210.5 kB / 436.5 MB, free: 260 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.3927, allocations: 0.6924 MB / 437.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4e-05/0.3927, allocations: 7.984 kB / 437.2 MB, free: 15.53 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.292e-05/0.3928, allocations: 15.42 kB / 437.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3928, allocations: 0 / 437.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of Templates: time 0.003274/0.396, allocations: 0.5592 MB / 437.8 MB, free: 14.95 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.BusUsage.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_trunk_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.806642121635377]