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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|controlBus.realSignal1|controlBus.integerSignal|controlBus.booleanSignal|controlBus.subControlBus.myRealSignal|controlBus.subControlBus.myBooleanSignal",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002185/0.002185, allocations: 181.3 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.902/1.902, allocations: 205.4 MB / 223.1 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009023/0.0009024, allocations: 80.25 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002412/0.0002412, allocations: 8 kB / 328.2 MB, free: 15.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3689, allocations: 47.56 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1305/0.4995, allocations: 76.1 MB / 451.9 MB, free: 4.582 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/0.4998, allocations: 67.97 kB / 452 MB, free: 4.516 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003921/0.5037, allocations: 1.465 MB / 453.4 MB, free: 3.047 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.5037, allocations: 0 / 453.4 MB, free: 3.047 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.5037, allocations: 4 kB / 453.4 MB, free: 3.043 MB / 330.7 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.0004227/0.5042, allocations: 383.1 kB / 453.8 MB, free: 2.621 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.5042, allocations: 8.031 kB / 453.8 MB, free: 2.613 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.5043, allocations: 7.906 kB / 453.8 MB, free: 2.605 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.5044, allocations: 174.9 kB / 454 MB, free: 2.395 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.5044, allocations: 4 kB / 454 MB, free: 2.391 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.5045, allocations: 11.95 kB / 454 MB, free: 2.379 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002397/0.5047, allocations: 121.9 kB / 454.1 MB, free: 2.238 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.5047, allocations: 0 / 454.1 MB, free: 2.238 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.5047, allocations: 0 / 454.1 MB, free: 2.238 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.5047, allocations: 0 / 454.1 MB, free: 2.238 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001752/0.5049, allocations: 67.89 kB / 454.2 MB, free: 2.172 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006393/0.5056, allocations: 0.642 MB / 454.8 MB, free: 1.465 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.5058, allocations: 127.2 kB / 455 MB, free: 1.297 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.5058, allocations: 0 / 455 MB, free: 1.297 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.5058, allocations: 34.62 kB / 455 MB, free: 1.254 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.5058, allocations: 0 / 455 MB, free: 1.254 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004451/0.5063, allocations: 138 kB / 455.1 MB, free: 1.113 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.542e-05/0.5064, allocations: 166.2 kB / 455.3 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.657e-05/0.5065, allocations: 111.7 kB / 455.4 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.5065, allocations: 25.7 kB / 455.4 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.557e-05/0.5066, allocations: 104 kB / 455.5 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.5066, allocations: 11.81 kB / 455.5 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.5066, allocations: 0 / 455.5 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.5067, allocations: 330.7 kB / 455.9 MB, free: 328 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.107e-05/0.5068, allocations: 23.98 kB / 455.9 MB, free: 304 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.206e-05/0.5069, allocations: 56.28 kB / 455.9 MB, free: 232 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.339e-05/0.507, allocations: 31.92 kB / 456 MB, free: 200 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.507, allocations: 0 / 456 MB, free: 200 kB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000219/0.5073, allocations: 117.4 kB / 456.1 MB, free: 76 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.5073, allocations: 4 kB / 456.1 MB, free: 72 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.5073, allocations: 3.984 kB / 456.1 MB, free: 68 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.5073, allocations: 4 kB / 456.1 MB, free: 64 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.5074, allocations: 11.94 kB / 456.1 MB, free: 52 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.5075, allocations: 4 kB / 456.1 MB, free: 48 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.885e-05/0.5075, allocations: 16.14 kB / 456.1 MB, free: 32 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.5075, allocations: 0 / 456.1 MB, free: 32 kB / 330.7 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 (part.booleanExpression.y,booleanStep.y,integerStep.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.5077, allocations: 121.8 kB / 456.2 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.568e-05/0.5078, allocations: 7.906 kB / 456.3 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.588e-05/0.5078, allocations: 19.45 kB / 456.3 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.5078, allocations: 4 kB / 456.3 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.5078, allocations: 0 / 456.3 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.5078, allocations: 0 / 456.3 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003431/0.5082, allocations: 189.6 kB / 456.5 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.5082, allocations: 0 / 456.5 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.075e-05/0.5083, allocations: 19.92 kB / 456.5 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.5083, allocations: 4 kB / 456.5 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.5083, allocations: 4 kB / 456.5 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.5083, allocations: 4 kB / 456.5 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.5083, allocations: 0 / 456.5 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003864/0.5087, allocations: 0.5345 MB / 457 MB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.778e-05/0.5087, allocations: 81.05 kB / 457.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.5088, allocations: 15.94 kB / 457.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.509, allocations: 8.188 kB / 457.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.509, allocations: 11.98 kB / 457.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.509, allocations: 4 kB / 457.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.025e-05/0.5091, allocations: 91.27 kB / 457.2 MB, free: 14.8 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5091, allocations: 0 / 457.2 MB, free: 14.8 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003466/0.5095, allocations: 19.94 kB / 457.3 MB, free: 14.78 MB / 346.7 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 (part.booleanExpression.y,booleanStep.y,integerStep.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001026/0.5096, allocations: 99.17 kB / 457.3 MB, free: 14.68 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002241/0.5098, allocations: 71.89 kB / 457.4 MB, free: 14.61 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5098, allocations: 0 / 457.4 MB, free: 14.61 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.5099, allocations: 39.92 kB / 457.5 MB, free: 14.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.5102, allocations: 4.625 kB / 457.5 MB, free: 14.56 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004531/0.5107, allocations: 244.5 kB / 457.7 MB, free: 14.29 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.5109, allocations: 0.6926 MB / 458.4 MB, free: 13.57 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.639e-05/0.511, allocations: 8 kB / 458.4 MB, free: 13.56 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.511, allocations: 7.438 kB / 458.4 MB, free: 13.55 MB / 346.7 MB Notification: Performance of SimCode: time 5.01e-07/0.511, allocations: 0 / 458.4 MB, free: 13.55 MB / 346.7 MB Notification: Performance of Templates: time 0.003007/0.514, allocations: 441.6 kB / 458.8 MB, free: 13.12 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.makefile (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) 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","../files/Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches