Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001489/0.001489, allocations: 182.1 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.192/2.192, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001136/0.001136, allocations: 86.66 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.139e-05/3.157e-05, allocations: 4 kB / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09472/0.09478, allocations: 47.58 MB / 369.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.402/0.4968, allocations: 76 MB / 445.1 MB, free: 1.152 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/0.4971, allocations: 70.72 kB / 445.1 MB, free: 1.117 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00758/0.5048, allocations: 1.457 MB / 446.6 MB, free: 15.84 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.5048, allocations: 0 / 446.6 MB, free: 15.84 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.208e-05/0.5049, allocations: 4 kB / 446.6 MB, free: 15.83 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.000721/0.5056, allocations: 364.4 kB / 447 MB, free: 15.44 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.455e-05/0.5057, allocations: 15.97 kB / 447 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.581e-05/0.5058, allocations: 7.906 kB / 447 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.506, allocations: 167 kB / 447.1 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.307e-05/0.506, allocations: 7.438 kB / 447.2 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.361e-05/0.5061, allocations: 7.953 kB / 447.2 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00029/0.5064, allocations: 106 kB / 447.3 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.5064, allocations: 0 / 447.3 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.5065, allocations: 0 / 447.3 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.5065, allocations: 4.875 kB / 447.3 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.5067, allocations: 37.86 kB / 447.3 MB, free: 15.06 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.5077, allocations: 0.6396 MB / 447.9 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.508, allocations: 104.6 kB / 448 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.5081, allocations: 46.73 kB / 448.1 MB, free: 14.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.5082, allocations: 7.922 kB / 448.1 MB, free: 14.19 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.947e-05/0.5082, allocations: 46.48 kB / 448.1 MB, free: 14.13 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 3.427e-06/0.5082, allocations: 0 / 448.1 MB, free: 14.13 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004895/0.5087, allocations: 75.09 kB / 448.2 MB, free: 14.06 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.5089, allocations: 162.2 kB / 448.4 MB, free: 13.87 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.509, allocations: 107.9 kB / 448.5 MB, free: 13.76 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.5091, allocations: 25.7 kB / 448.5 MB, free: 13.73 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.5092, allocations: 164.8 kB / 448.7 MB, free: 13.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.876e-05/0.5092, allocations: 11.75 kB / 448.7 MB, free: 13.56 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.238e-06/0.5093, allocations: 3.062 kB / 448.7 MB, free: 13.56 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.5095, allocations: 326.9 kB / 449 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.985e-05/0.5095, allocations: 6.75 kB / 449 MB, free: 13.23 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.127e-05/0.5096, allocations: 38.48 kB / 449 MB, free: 13.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.169e-05/0.5097, allocations: 15.12 kB / 449.1 MB, free: 13.17 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.5097, allocations: 3.938 kB / 449.1 MB, free: 13.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002948/0.5101, allocations: 75.34 kB / 449.1 MB, free: 13.1 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.5101, allocations: 7.984 kB / 449.1 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.5101, allocations: 0 / 449.1 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.5102, allocations: 4 kB / 449.2 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.5104, allocations: 15.88 kB / 449.2 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.5104, allocations: 8.156 kB / 449.2 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.5106, allocations: 11.98 kB / 449.2 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.5106, allocations: 0 / 449.2 MB, free: 13.05 MB / 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 () * 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.000126/0.5108, allocations: 111.4 kB / 449.3 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/0.511, allocations: 4 kB / 449.3 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.707e-05/0.5111, allocations: 21.66 kB / 449.3 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.5111, allocations: 0 / 449.3 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.5111, allocations: 4 kB / 449.3 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.5111, allocations: 4 kB / 449.3 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008636/0.512, allocations: 194.2 kB / 449.5 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.512, allocations: 0 / 449.5 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001925/0.5122, allocations: 15.98 kB / 449.5 MB, free: 12.67 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.5122, allocations: 3.938 kB / 449.5 MB, free: 12.67 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.5123, allocations: 4 kB / 449.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.5123, allocations: 0 / 449.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.5123, allocations: 0 / 449.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005109/0.5128, allocations: 0.5024 MB / 450 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.945e-05/0.5129, allocations: 85.02 kB / 450.1 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.958e-05/0.513, allocations: 11.94 kB / 450.1 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005248/0.5135, allocations: 11.94 kB / 450.2 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.097e-05/0.5136, allocations: 10.86 kB / 450.2 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.5136, allocations: 0 / 450.2 MB, free: 12 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.924e-05/0.5138, allocations: 95.33 kB / 450.3 MB, free: 11.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.5138, allocations: 0 / 450.3 MB, free: 11.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009628/0.5147, allocations: 11.25 kB / 450.3 MB, free: 11.91 MB / 330.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 () * 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.000188/0.515, allocations: 99.23 kB / 450.4 MB, free: 11.8 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002341/0.5152, allocations: 38.06 kB / 450.4 MB, free: 11.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.206e-06/0.5152, allocations: 0 / 450.4 MB, free: 11.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.5154, allocations: 23.31 kB / 450.4 MB, free: 11.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000649/0.516, allocations: 7.703 kB / 450.4 MB, free: 11.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006545/0.5167, allocations: 161.1 kB / 450.6 MB, free: 11.56 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000495/0.5172, allocations: 0.6974 MB / 451.3 MB, free: 10.84 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.762e-05/0.5173, allocations: 7.438 kB / 451.3 MB, free: 10.83 MB / 330.7 MB Notification: Performance of SimCode: time 1.863e-06/0.5174, allocations: 0 / 451.3 MB, free: 10.83 MB / 330.7 MB Notification: Performance of Templates: time 0.004149/0.5215, allocations: 0.8651 MB / 452.2 MB, free: 9.977 MB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.BusUsage.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.BusUsage --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Blocks.Examples.BusUsage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches