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.001389/0.001389, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002272/0.002272, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.459/1.459, allocations: 230.3 MB / 258 MB, free: 8.23 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.002065/0.002065, allocations: 63.89 kB / 378.7 MB, free: 2.801 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2717, allocations: 53.36 MB / 432.1 MB, free: 7.066 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003123/0.2748, allocations: 1.629 MB / 433.7 MB, free: 5.438 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.000994/0.2758, allocations: 0.4947 MB / 434.2 MB, free: 4.938 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.183e-05/0.2759, allocations: 3.938 kB / 434.2 MB, free: 4.934 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 4.078e-05/0.2759, allocations: 7.922 kB / 434.2 MB, free: 4.926 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 8.605e-05/0.276, allocations: 19.8 kB / 434.3 MB, free: 4.906 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000206/0.2762, allocations: 27.97 kB / 434.3 MB, free: 4.879 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001369/0.2763, allocations: 67.72 kB / 434.4 MB, free: 4.812 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.2765, allocations: 36.2 kB / 434.4 MB, free: 4.773 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.2766, allocations: 31.92 kB / 434.4 MB, free: 4.742 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 6.966e-05/0.2767, allocations: 35.72 kB / 434.5 MB, free: 4.707 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.2767, allocations: 8 kB / 434.5 MB, free: 4.699 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 4.788e-05/0.2768, allocations: 8 kB / 434.5 MB, free: 4.691 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.809e-05/0.2768, allocations: 8 kB / 434.5 MB, free: 4.684 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.464e-05/0.2769, allocations: 35.78 kB / 434.5 MB, free: 4.648 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.277, allocations: 77.61 kB / 434.6 MB, free: 4.578 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.277, allocations: 0 / 434.6 MB, free: 4.578 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.082e-06/0.277, allocations: 0 / 434.6 MB, free: 4.578 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.036e-05/0.277, allocations: 4 kB / 434.6 MB, free: 4.574 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.0005375/0.2776, allocations: 309.8 kB / 434.9 MB, free: 4.246 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.2776, allocations: 12.03 kB / 434.9 MB, free: 4.234 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.2778, allocations: 20.83 kB / 434.9 MB, free: 4.215 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.278, allocations: 130.4 kB / 435.1 MB, free: 4.062 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.278, allocations: 4.375 kB / 435.1 MB, free: 4.059 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.278, allocations: 12.31 kB / 435.1 MB, free: 4.047 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/0.2783, allocations: 118.3 kB / 435.2 MB, free: 3.91 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.2783, allocations: 0 / 435.2 MB, free: 3.91 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.2783, allocations: 0 / 435.2 MB, free: 3.91 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.2783, allocations: 0 / 435.2 MB, free: 3.91 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001873/0.2785, allocations: 59.83 kB / 435.2 MB, free: 3.852 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006801/0.2792, allocations: 0.6099 MB / 435.9 MB, free: 3.184 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.2794, allocations: 113.1 kB / 436 MB, free: 3.027 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.2795, allocations: 52.27 kB / 436 MB, free: 2.961 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.2795, allocations: 8 kB / 436 MB, free: 2.953 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.2795, allocations: 38.5 kB / 436.1 MB, free: 2.906 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.2795, allocations: 0 / 436.1 MB, free: 2.906 MB / 334.1 MB
Notification: Performance of matching and sorting (n=6): time 0.0004674/0.28, allocations: 125.7 kB / 436.2 MB, free: 2.777 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.861e-05/0.2801, allocations: 162.2 kB / 436.3 MB, free: 2.582 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.2802, allocations: 129.7 kB / 436.5 MB, free: 2.445 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.2802, allocations: 25.7 kB / 436.5 MB, free: 2.414 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.74e-05/0.2803, allocations: 96.03 kB / 436.6 MB, free: 2.316 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.2803, allocations: 16.33 kB / 436.6 MB, free: 2.301 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.2804, allocations: 25.72 kB / 436.6 MB, free: 2.27 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001449/0.2805, allocations: 318.8 kB / 436.9 MB, free: 1.949 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.527e-05/0.2806, allocations: 19.98 kB / 437 MB, free: 1.93 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.2807, allocations: 48.28 kB / 437 MB, free: 1.867 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.2809, allocations: 84.19 kB / 437.1 MB, free: 1.77 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2809, allocations: 0 / 437.1 MB, free: 1.77 MB / 334.1 MB
Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002481/0.2812, allocations: 101.5 kB / 437.2 MB, free: 1.664 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.2812, allocations: 8 kB / 437.2 MB, free: 1.656 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2812, allocations: 3.984 kB / 437.2 MB, free: 1.652 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.2812, allocations: 0 / 437.2 MB, free: 1.652 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.645e-05/0.2813, allocations: 15.98 kB / 437.2 MB, free: 1.637 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.2813, allocations: 3.938 kB / 437.2 MB, free: 1.633 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.938e-05/0.2814, allocations: 11.94 kB / 437.2 MB, free: 1.621 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.2814, allocations: 8.156 kB / 437.2 MB, free: 1.613 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.178e-05/0.2815, allocations: 113.8 kB / 437.3 MB, free: 1.492 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.677e-05/0.2816, allocations: 11.94 kB / 437.4 MB, free: 1.48 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.099e-05/0.2816, allocations: 15.58 kB / 437.4 MB, free: 1.461 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2816, allocations: 128 / 437.4 MB, free: 1.461 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.2816, allocations: 8 kB / 437.4 MB, free: 1.453 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.2816, allocations: 3.938 kB / 437.4 MB, free: 1.449 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003882/0.282, allocations: 160.6 kB / 437.5 MB, free: 1.25 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.282, allocations: 3.938 kB / 437.5 MB, free: 1.246 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.951e-05/0.2821, allocations: 19.98 kB / 437.6 MB, free: 1.227 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2821, allocations: 3.938 kB / 437.6 MB, free: 1.223 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.2821, allocations: 4 kB / 437.6 MB, free: 1.219 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.2821, allocations: 3.938 kB / 437.6 MB, free: 1.215 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2821, allocations: 0 / 437.6 MB, free: 1.215 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004228/0.2825, allocations: 496.5 kB / 438.1 MB, free: 0.7109 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.537e-05/0.2825, allocations: 11.94 kB / 438.1 MB, free: 0.6992 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.2826, allocations: 4 kB / 438.1 MB, free: 0.6953 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.2828, allocations: 4 kB / 438.1 MB, free: 0.6914 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.2828, allocations: 15.86 kB / 438.1 MB, free: 0.6758 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.2828, allocations: 8 kB / 438.1 MB, free: 0.668 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 6.22e-05/0.2829, allocations: 95.27 kB / 438.2 MB, free: 0.5742 MB / 334.1 MB
Notification: Performance of sort global known variables: time 1.21e-07/0.2829, allocations: 0 / 438.2 MB, free: 0.5742 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0004008/0.2833, allocations: 12 kB / 438.2 MB, free: 0.5625 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.0001138/0.2834, allocations: 87.25 kB / 438.3 MB, free: 480 kB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002683/0.2837, allocations: 64.14 kB / 438.4 MB, free: 416 kB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.2837, allocations: 4.062 kB / 438.4 MB, free: 412 kB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000113/0.2838, allocations: 31.92 kB / 438.4 MB, free: 380 kB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000566/0.2844, allocations: 8 kB / 438.4 MB, free: 372 kB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004844/0.2848, allocations: 207 kB / 438.6 MB, free: 128 kB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.2852, allocations: 0.6959 MB / 439.3 MB, free: 15.41 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 3.67e-05/0.2853, allocations: 0 / 439.3 MB, free: 15.41 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/0.2853, allocations: 11.44 kB / 439.3 MB, free: 15.39 MB / 350.1 MB
Notification: Performance of SimCode: time 3.41e-07/0.2853, allocations: 0 / 439.3 MB, free: 15.39 MB / 350.1 MB
Notification: Performance of Templates: time 0.003217/0.2885, allocations: 0.5812 MB / 439.9 MB, free: 14.82 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.53388840239495]