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.001341/0.001341, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001504/0.001504, allocations: 203 kB / 23.72 MB, free: 4.391 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.523/1.523, allocations: 230.5 MB / 257.4 MB, free: 7.762 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.002037/0.002037, allocations: 55.91 kB / 378.2 MB, free: 2.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3259, allocations: 53.42 MB / 431.6 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002962/0.3289, allocations: 1.607 MB / 433.2 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008801/0.3298, allocations: 466.8 kB / 433.7 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.574e-05/0.3299, allocations: 0 / 433.7 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.93e-05/0.3299, allocations: 7.875 kB / 433.7 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.399e-05/0.33, allocations: 15.86 kB / 433.7 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.3302, allocations: 35.89 kB / 433.7 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.3303, allocations: 59.78 kB / 433.8 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.3305, allocations: 32.02 kB / 433.8 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.3306, allocations: 39.78 kB / 433.9 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.379e-05/0.3307, allocations: 27.84 kB / 433.9 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.3307, allocations: 12 kB / 433.9 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.301e-05/0.3307, allocations: 4 kB / 433.9 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/0.3308, allocations: 15.94 kB / 433.9 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.569e-05/0.3308, allocations: 23.86 kB / 434 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.331, allocations: 78.31 kB / 434 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.331, allocations: 3.938 kB / 434 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.331, allocations: 0 / 434 MB, free: 4.094 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.331, allocations: 0 / 434 MB, free: 4.094 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.0005572/0.3315, allocations: 316.5 kB / 434.3 MB, free: 3.762 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.3316, allocations: 12.03 kB / 434.4 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.3317, allocations: 20.88 kB / 434.4 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.3319, allocations: 130.4 kB / 434.5 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.332, allocations: 4.375 kB / 434.5 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.332, allocations: 8.375 kB / 434.5 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002328/0.3322, allocations: 122.2 kB / 434.6 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.3322, allocations: 0 / 434.6 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.3322, allocations: 4 kB / 434.6 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3322, allocations: 0 / 434.6 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001842/0.3324, allocations: 67.88 kB / 434.7 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005898/0.333, allocations: 0.5597 MB / 435.3 MB, free: 2.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.3332, allocations: 116.9 kB / 435.4 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.3333, allocations: 48.41 kB / 435.4 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.3333, allocations: 4 kB / 435.4 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.3334, allocations: 46.5 kB / 435.5 MB, free: 2.469 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.3334, allocations: 0 / 435.5 MB, free: 2.469 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004374/0.3338, allocations: 121.5 kB / 435.6 MB, free: 2.344 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.737e-05/0.3339, allocations: 158.2 kB / 435.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.334, allocations: 121.8 kB / 435.9 MB, free: 2.023 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.334, allocations: 26.33 kB / 435.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.491e-05/0.3341, allocations: 108 kB / 436 MB, free: 1.883 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.3341, allocations: 15.91 kB / 436 MB, free: 1.867 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.3341, allocations: 25.64 kB / 436 MB, free: 1.836 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.3343, allocations: 322.8 kB / 436.4 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.066e-05/0.3344, allocations: 19.98 kB / 436.4 MB, free: 1.492 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.833e-05/0.3345, allocations: 52.27 kB / 436.4 MB, free: 1.426 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.3346, allocations: 80.2 kB / 436.5 MB, free: 1.332 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3346, allocations: 0 / 436.5 MB, free: 1.332 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002279/0.3349, allocations: 97.48 kB / 436.6 MB, free: 1.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.3349, allocations: 8 kB / 436.6 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3349, allocations: 160 / 436.6 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.3349, allocations: 4 kB / 436.6 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.461e-05/0.335, allocations: 15.98 kB / 436.6 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.335, allocations: 0 / 436.6 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.309e-05/0.3351, allocations: 7.984 kB / 436.6 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.3351, allocations: 11.94 kB / 436.6 MB, free: 1.184 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.606e-05/0.3352, allocations: 117.8 kB / 436.8 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.3353, allocations: 7.953 kB / 436.8 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.264e-05/0.3353, allocations: 19.52 kB / 436.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3353, allocations: 0 / 436.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3353, allocations: 8 kB / 436.8 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3353, allocations: 3.984 kB / 436.8 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003296/0.3357, allocations: 137.3 kB / 436.9 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3357, allocations: 0 / 436.9 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.645e-05/0.3357, allocations: 11.98 kB / 436.9 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.3357, allocations: 4 kB / 436.9 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.3357, allocations: 0 / 436.9 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.3357, allocations: 3.984 kB / 437 MB, free: 0.832 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3357, allocations: 4 kB / 437 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003926/0.3361, allocations: 496.5 kB / 437.4 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.485e-05/0.3361, allocations: 11.95 kB / 437.5 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.3362, allocations: 3.984 kB / 437.5 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.3364, allocations: 7.938 kB / 437.5 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.65e-05/0.3364, allocations: 11.92 kB / 437.5 MB, free: 296 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.3364, allocations: 8 kB / 437.5 MB, free: 288 kB / 334.1 MB Notification: Performance of sorting global known variables: time 5.825e-05/0.3365, allocations: 91.27 kB / 437.6 MB, free: 196 kB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3365, allocations: 0 / 437.6 MB, free: 196 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003795/0.3369, allocations: 12 kB / 437.6 MB, free: 184 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.000102/0.337, allocations: 99.19 kB / 437.7 MB, free: 76 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002241/0.3372, allocations: 59.89 kB / 437.7 MB, free: 16 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3372, allocations: 0 / 437.7 MB, free: 16 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.3373, allocations: 32.59 kB / 437.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005242/0.3378, allocations: 8.062 kB / 437.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004201/0.3383, allocations: 202.9 kB / 438 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.3384, allocations: 83.25 kB / 438.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.397e-05/0.3384, allocations: 0 / 438.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.387e-05/0.3384, allocations: 11.44 kB / 438.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3384, allocations: 0 / 438.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of Templates: time 0.002984/0.3414, allocations: 0.5839 MB / 438.7 MB, free: 15.04 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.755204675719142]