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.001636/0.001636, 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.001951/0.001951, allocations: 212.6 kB / 24.54 MB, free: 4.02 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.494/1.494, allocations: 230.6 MB / 258.2 MB, free: 8.035 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.001958/0.001958, allocations: 72.75 kB / 379 MB, free: 2.648 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3062, allocations: 53.36 MB / 432.4 MB, free: 6.945 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003197/0.3094, allocations: 1.636 MB / 434 MB, free: 5.309 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001045/0.3104, allocations: 0.4986 MB / 434.5 MB, free: 4.805 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.639e-05/0.3105, allocations: 0 / 434.5 MB, free: 4.805 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 4.578e-05/0.3106, allocations: 11.88 kB / 434.5 MB, free: 4.793 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 9.464e-05/0.3107, allocations: 7.875 kB / 434.5 MB, free: 4.785 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.3109, allocations: 35.89 kB / 434.6 MB, free: 4.75 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001597/0.3111, allocations: 59.78 kB / 434.6 MB, free: 4.691 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002161/0.3113, allocations: 43.94 kB / 434.7 MB, free: 4.648 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001891/0.3115, allocations: 31.91 kB / 434.7 MB, free: 4.617 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 9.648e-05/0.3116, allocations: 35.8 kB / 434.7 MB, free: 4.582 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.3116, allocations: 4 kB / 434.7 MB, free: 4.578 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 5.137e-05/0.3116, allocations: 12 kB / 434.8 MB, free: 4.566 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 2.01e-05/0.3117, allocations: 7.984 kB / 434.8 MB, free: 4.559 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 5.496e-05/0.3117, allocations: 31.81 kB / 434.8 MB, free: 4.527 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.3119, allocations: 78.73 kB / 434.9 MB, free: 4.453 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3119, allocations: 0 / 434.9 MB, free: 4.453 MB / 334.1 MB
Notification: Performance of FrontEnd: time 2.134e-06/0.3119, allocations: 0 / 434.9 MB, free: 4.453 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 7.594e-06/0.3119, allocations: 4 kB / 434.9 MB, free: 4.449 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.000606/0.3125, allocations: 301.8 kB / 435.2 MB, free: 4.129 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.3126, allocations: 16.03 kB / 435.2 MB, free: 4.113 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002032/0.3128, allocations: 20.83 kB / 435.2 MB, free: 4.094 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.313, allocations: 130.4 kB / 435.3 MB, free: 3.941 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.313, allocations: 8.375 kB / 435.3 MB, free: 3.934 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.3131, allocations: 4.375 kB / 435.4 MB, free: 3.93 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/0.3133, allocations: 124.8 kB / 435.5 MB, free: 3.789 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.3133, allocations: 0 / 435.5 MB, free: 3.789 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.3133, allocations: 4 kB / 435.5 MB, free: 3.785 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.3134, allocations: 4 kB / 435.5 MB, free: 3.781 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.3135, allocations: 51.89 kB / 435.5 MB, free: 3.73 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007569/0.3143, allocations: 0.606 MB / 436.1 MB, free: 3.066 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.3145, allocations: 121 kB / 436.3 MB, free: 2.902 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.3146, allocations: 48.34 kB / 436.3 MB, free: 2.84 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.3146, allocations: 0 / 436.3 MB, free: 2.84 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.955e-05/0.3147, allocations: 50.44 kB / 436.4 MB, free: 2.781 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=6): time 3.146e-06/0.3147, allocations: 3.984 kB / 436.4 MB, free: 2.777 MB / 334.1 MB
Notification: Performance of matching and sorting (n=6): time 0.0004811/0.3152, allocations: 121.5 kB / 436.5 MB, free: 2.652 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/0.3153, allocations: 158.8 kB / 436.6 MB, free: 2.461 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.3154, allocations: 129.7 kB / 436.8 MB, free: 2.324 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.3155, allocations: 29.7 kB / 436.8 MB, free: 2.289 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.3156, allocations: 100 kB / 436.9 MB, free: 2.188 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.3156, allocations: 19.89 kB / 436.9 MB, free: 2.168 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.646e-05/0.3157, allocations: 21.7 kB / 436.9 MB, free: 2.141 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001592/0.3158, allocations: 314.8 kB / 437.2 MB, free: 1.824 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.567e-05/0.3159, allocations: 19.98 kB / 437.3 MB, free: 1.805 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 9.221e-05/0.316, allocations: 56.27 kB / 437.3 MB, free: 1.734 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.3162, allocations: 80.2 kB / 437.4 MB, free: 1.641 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3162, allocations: 0 / 437.4 MB, free: 1.641 MB / 334.1 MB
Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002179/0.3164, allocations: 97.48 kB / 437.5 MB, free: 1.539 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3164, allocations: 8 kB / 437.5 MB, free: 1.531 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3164, allocations: 4.156 kB / 437.5 MB, free: 1.527 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.3164, allocations: 4 kB / 437.5 MB, free: 1.523 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.3166, allocations: 11.98 kB / 437.5 MB, free: 1.512 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3166, allocations: 0 / 437.5 MB, free: 1.512 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.713e-05/0.3166, allocations: 15.92 kB / 437.5 MB, free: 1.496 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.3166, allocations: 0 / 437.5 MB, free: 1.496 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.0001069/0.3167, allocations: 125.8 kB / 437.6 MB, free: 1.363 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.934e-05/0.3168, allocations: 7.953 kB / 437.7 MB, free: 1.355 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.48e-05/0.3169, allocations: 15.7 kB / 437.7 MB, free: 1.336 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3169, allocations: 4 kB / 437.7 MB, free: 1.332 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.3169, allocations: 4 kB / 437.7 MB, free: 1.328 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.3169, allocations: 7.922 kB / 437.7 MB, free: 1.32 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003759/0.3173, allocations: 156.7 kB / 437.8 MB, free: 1.125 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.3173, allocations: 4 kB / 437.8 MB, free: 1.121 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.435e-05/0.3173, allocations: 8 kB / 437.8 MB, free: 1.113 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3173, allocations: 3.938 kB / 437.9 MB, free: 1.109 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.3173, allocations: 4 kB / 437.9 MB, free: 1.105 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.3173, allocations: 3.984 kB / 437.9 MB, free: 1.102 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3174, allocations: 8 kB / 437.9 MB, free: 1.094 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004419/0.3178, allocations: 492.5 kB / 438.3 MB, free: 0.5938 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.471e-05/0.3178, allocations: 11.95 kB / 438.4 MB, free: 0.582 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.3178, allocations: 0 / 438.4 MB, free: 0.582 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.318, allocations: 15.98 kB / 438.4 MB, free: 0.5664 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.3181, allocations: 3.938 kB / 438.4 MB, free: 0.5625 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.998e-06/0.3181, allocations: 7.984 kB / 438.4 MB, free: 0.5547 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 6.559e-05/0.3182, allocations: 87.72 kB / 438.5 MB, free: 480 kB / 334.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.3182, allocations: 0 / 438.5 MB, free: 480 kB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0003756/0.3185, allocations: 19.94 kB / 438.5 MB, free: 460 kB / 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.000166/0.3187, allocations: 103.2 kB / 438.6 MB, free: 348 kB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002662/0.319, allocations: 51.91 kB / 438.6 MB, free: 296 kB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.319, allocations: 0 / 438.6 MB, free: 296 kB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.3191, allocations: 40.41 kB / 438.7 MB, free: 256 kB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005278/0.3196, allocations: 8.453 kB / 438.7 MB, free: 248 kB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005896/0.3202, allocations: 202.7 kB / 438.9 MB, free: 8 kB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/0.3206, allocations: 0.6885 MB / 439.6 MB, free: 15.29 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 4.349e-05/0.3207, allocations: 8 kB / 439.6 MB, free: 15.29 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.952e-05/0.3207, allocations: 11.44 kB / 439.6 MB, free: 15.27 MB / 350.1 MB
Notification: Performance of SimCode: time 6.01e-07/0.3207, allocations: 4 kB / 439.6 MB, free: 15.27 MB / 350.1 MB
Notification: Performance of Templates: time 0.00327/0.324, allocations: 0.5864 MB / 440.2 MB, free: 14.68 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/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_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.621297154575586]