Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001872/0.001872, allocations: 104.6 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002211/0.002211, allocations: 181.2 kB / 24.46 MB, free: 4.059 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.619/1.619, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_3.2.3_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_3.2.3_Modelica.Blocks.Examples.BusUsage") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.002416/0.002416, allocations: 54.58 kB / 347.6 MB, free: 9.586 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.4173, allocations: 49.16 MB / 396.8 MB, free: 9.52 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003246/0.4205, allocations: 1.603 MB / 398.4 MB, free: 8.41 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0009259/0.4214, allocations: 484.2 kB / 398.9 MB, free: 8.074 MB / 318.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.758e-05/0.4215, allocations: 1.062 kB / 398.9 MB, free: 8.074 MB / 318.1 MB
Notification: Performance of NFTyping.typeComponents: time 5.444e-05/0.4216, allocations: 7.375 kB / 398.9 MB, free: 8.07 MB / 318.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.4217, allocations: 10.55 kB / 398.9 MB, free: 8.062 MB / 318.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002133/0.4219, allocations: 19.86 kB / 398.9 MB, free: 8.051 MB / 318.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001272/0.422, allocations: 67.06 kB / 399 MB, free: 8.016 MB / 318.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.000191/0.4222, allocations: 36.56 kB / 399 MB, free: 8 MB / 318.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.4223, allocations: 30.39 kB / 399 MB, free: 7.984 MB / 318.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 7.878e-05/0.4224, allocations: 40.7 kB / 399.1 MB, free: 7.957 MB / 318.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.611e-05/0.4224, allocations: 4.906 kB / 399.1 MB, free: 7.957 MB / 318.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 1.404e-05/0.4224, allocations: 5.25 kB / 399.1 MB, free: 7.957 MB / 318.1 MB
Notification: Performance of NFScalarize.scalarize: time 2.285e-05/0.4225, allocations: 9.469 kB / 399.1 MB, free: 7.953 MB / 318.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.292e-05/0.4225, allocations: 33.12 kB / 399.1 MB, free: 7.93 MB / 318.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.000163/0.4227, allocations: 69.31 kB / 399.2 MB, free: 7.898 MB / 318.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4227, allocations: 0 / 399.2 MB, free: 7.898 MB / 318.1 MB
Notification: Performance of FrontEnd: time 1.413e-06/0.4227, allocations: 1.188 kB / 399.2 MB, free: 7.898 MB / 318.1 MB
Notification: Performance of Transformations before backend: time 1.139e-05/0.4227, allocations: 0.75 kB / 399.2 MB, free: 7.898 MB / 318.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.0005161/0.4232, allocations: 307.4 kB / 399.5 MB, free: 7.609 MB / 318.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.4232, allocations: 10.31 kB / 399.5 MB, free: 7.609 MB / 318.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.4233, allocations: 9.109 kB / 399.5 MB, free: 7.605 MB / 318.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.642e-05/0.4234, allocations: 120.6 kB / 399.6 MB, free: 7.469 MB / 318.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.4234, allocations: 7.75 kB / 399.6 MB, free: 7.465 MB / 318.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.4234, allocations: 4.312 kB / 399.6 MB, free: 7.465 MB / 318.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.4237, allocations: 118.9 kB / 399.8 MB, free: 7.367 MB / 318.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.4237, allocations: 0 / 399.8 MB, free: 7.367 MB / 318.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.4237, allocations: 1.156 kB / 399.8 MB, free: 7.367 MB / 318.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.4237, allocations: 2.219 kB / 399.8 MB, free: 7.367 MB / 318.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002008/0.4239, allocations: 58.97 kB / 399.8 MB, free: 7.352 MB / 318.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007156/0.4246, allocations: 0.6084 MB / 400.4 MB, free: 6.746 MB / 318.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.4249, allocations: 122.2 kB / 400.6 MB, free: 6.605 MB / 318.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.425, allocations: 52.45 kB / 400.6 MB, free: 6.559 MB / 318.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.4251, allocations: 5.5 kB / 400.6 MB, free: 6.555 MB / 318.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.4251, allocations: 38.59 kB / 400.6 MB, free: 6.512 MB / 318.1 MB
Notification: Performance of pre-optimization done (n=6): time 3.025e-06/0.4251, allocations: 3.984 kB / 400.7 MB, free: 6.508 MB / 318.1 MB
Notification: Performance of matching and sorting (n=6): time 0.0006143/0.4257, allocations: 125.9 kB / 400.8 MB, free: 6.445 MB / 318.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.431e-05/0.4258, allocations: 157.4 kB / 400.9 MB, free: 6.258 MB / 318.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.4259, allocations: 125.4 kB / 401.1 MB, free: 6.145 MB / 318.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.4259, allocations: 25.7 kB / 401.1 MB, free: 6.113 MB / 318.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.226e-05/0.426, allocations: 102.5 kB / 401.2 MB, free: 6.016 MB / 318.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.426, allocations: 15.66 kB / 401.2 MB, free: 6.004 MB / 318.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.155e-05/0.4261, allocations: 21.17 kB / 401.2 MB, free: 5.984 MB / 318.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001033/0.4262, allocations: 322 kB / 401.5 MB, free: 5.664 MB / 318.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.4263, allocations: 21.2 kB / 401.5 MB, free: 5.66 MB / 318.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.4264, allocations: 52.83 kB / 401.6 MB, free: 5.613 MB / 318.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002098/0.4266, allocations: 81.31 kB / 401.7 MB, free: 5.555 MB / 318.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4266, allocations: 1.531 kB / 401.7 MB, free: 5.555 MB / 318.1 MB
Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002516/0.4269, allocations: 96.42 kB / 401.8 MB, free: 5.504 MB / 318.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.4269, allocations: 6.312 kB / 401.8 MB, free: 5.504 MB / 318.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.4269, allocations: 1.438 kB / 401.8 MB, free: 5.504 MB / 318.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.4269, allocations: 1.984 kB / 401.8 MB, free: 5.504 MB / 318.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.4271, allocations: 16.73 kB / 401.8 MB, free: 5.5 MB / 318.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.4271, allocations: 1.219 kB / 401.8 MB, free: 5.5 MB / 318.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.242e-05/0.4272, allocations: 15.66 kB / 401.8 MB, free: 5.492 MB / 318.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.4272, allocations: 2.844 kB / 401.8 MB, free: 5.492 MB / 318.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.0001116/0.4273, allocations: 124 kB / 401.9 MB, free: 5.367 MB / 318.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.112e-05/0.4274, allocations: 7.188 kB / 401.9 MB, free: 5.363 MB / 318.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.063e-05/0.4274, allocations: 19.78 kB / 402 MB, free: 5.344 MB / 318.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.4274, allocations: 2.531 kB / 402 MB, free: 5.344 MB / 318.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.4274, allocations: 1.219 kB / 402 MB, free: 5.344 MB / 318.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.4275, allocations: 5.797 kB / 402 MB, free: 5.34 MB / 318.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003959/0.4279, allocations: 156.7 kB / 402.1 MB, free: 5.172 MB / 318.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.4279, allocations: 2.188 kB / 402.1 MB, free: 5.172 MB / 318.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.42e-05/0.4279, allocations: 14.89 kB / 402.1 MB, free: 5.168 MB / 318.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.4279, allocations: 1.625 kB / 402.1 MB, free: 5.168 MB / 318.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.4279, allocations: 7.266 kB / 402.2 MB, free: 5.164 MB / 318.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.4279, allocations: 2.234 kB / 402.2 MB, free: 5.164 MB / 318.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.428, allocations: 1.5 kB / 402.2 MB, free: 5.164 MB / 318.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003637/0.4283, allocations: 496.7 kB / 402.6 MB, free: 4.707 MB / 318.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.634e-05/0.4283, allocations: 8.609 kB / 402.7 MB, free: 4.703 MB / 318.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.4284, allocations: 6.859 kB / 402.7 MB, free: 4.699 MB / 318.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.4286, allocations: 6.312 kB / 402.7 MB, free: 4.699 MB / 318.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.371e-05/0.4287, allocations: 10.64 kB / 402.7 MB, free: 4.695 MB / 318.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.4287, allocations: 7.562 kB / 402.7 MB, free: 4.691 MB / 318.1 MB
Notification: Performance of sorting global known variables: time 5.43e-05/0.4287, allocations: 103.3 kB / 402.8 MB, free: 4.602 MB / 318.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.4287, allocations: 1.156 kB / 402.8 MB, free: 4.602 MB / 318.1 MB
Notification: Performance of remove unused functions: time 0.0003853/0.4291, allocations: 12.22 kB / 402.8 MB, free: 4.598 MB / 318.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.0001197/0.4292, allocations: 93.64 kB / 402.9 MB, free: 4.512 MB / 318.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003207/0.4296, allocations: 63.19 kB / 402.9 MB, free: 4.492 MB / 318.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.4296, allocations: 1.406 kB / 403 MB, free: 4.492 MB / 318.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.4297, allocations: 36.89 kB / 403 MB, free: 4.48 MB / 318.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005249/0.4302, allocations: 6.969 kB / 403 MB, free: 4.477 MB / 318.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005415/0.4307, allocations: 205.1 kB / 403.2 MB, free: 4.289 MB / 318.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.431, allocations: 0.6979 MB / 403.9 MB, free: 3.586 MB / 318.1 MB
Notification: Performance of simCode: alias equations: time 5.072e-05/0.431, allocations: 2.859 kB / 403.9 MB, free: 3.586 MB / 318.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.445e-05/0.4311, allocations: 10.52 kB / 403.9 MB, free: 3.578 MB / 318.1 MB
Notification: Performance of SimCode: time 2.8e-07/0.4311, allocations: 0 / 403.9 MB, free: 3.578 MB / 318.1 MB
Notification: Performance of Templates: time 0.003723/0.4348, allocations: 0.5734 MB / 404.5 MB, free: 3.5 MB / 318.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 5.190036342479289]