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.001055/0.001056, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.502/1.502, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008366/0.0008366, allocations: 86.7 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.685e-05/2.688e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1015, allocations: 47.58 MB / 370 MB, free: 1.719 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3389/0.4404, allocations: 76 MB / 446 MB, free: 1.203 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.4407, allocations: 67.09 kB / 446.1 MB, free: 1.172 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005722/0.4465, allocations: 1.462 MB / 447.5 MB, free: 15.89 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4465, allocations: 0 / 447.5 MB, free: 15.89 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.4465, allocations: 0 / 447.5 MB, free: 15.89 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.0005201/0.4471, allocations: 368.7 kB / 447.9 MB, free: 15.5 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.4471, allocations: 8.031 kB / 447.9 MB, free: 15.49 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.099e-05/0.4472, allocations: 7.906 kB / 447.9 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.4474, allocations: 171.8 kB / 448.1 MB, free: 15.28 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.642e-05/0.4474, allocations: 4 kB / 448.1 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.4475, allocations: 11.89 kB / 448.1 MB, free: 15.26 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.4477, allocations: 106.1 kB / 448.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.4477, allocations: 0 / 448.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.4478, allocations: 4 kB / 448.2 MB, free: 15.15 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.4478, allocations: 0 / 448.2 MB, free: 15.15 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.4479, allocations: 31.56 kB / 448.2 MB, free: 15.13 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008958/0.4488, allocations: 0.6487 MB / 448.9 MB, free: 14.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.449, allocations: 106.6 kB / 449 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.487e-05/0.4491, allocations: 40.23 kB / 449 MB, free: 14.26 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.4492, allocations: 8 kB / 449 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.4492, allocations: 35.38 kB / 449.1 MB, free: 14.21 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.813e-06/0.4492, allocations: 0 / 449.1 MB, free: 14.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003885/0.4496, allocations: 80.97 kB / 449.1 MB, free: 14.13 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.547e-05/0.4497, allocations: 162.4 kB / 449.3 MB, free: 13.94 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.4498, allocations: 102.6 kB / 449.4 MB, free: 13.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.4499, allocations: 29.45 kB / 449.4 MB, free: 13.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.603e-05/0.45, allocations: 99.84 kB / 449.5 MB, free: 13.71 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.45, allocations: 19.56 kB / 449.6 MB, free: 13.69 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.45, allocations: 0 / 449.6 MB, free: 13.69 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.4502, allocations: 322.5 kB / 449.9 MB, free: 13.37 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.24e-05/0.4502, allocations: 8 kB / 449.9 MB, free: 13.36 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.769e-05/0.4503, allocations: 47.8 kB / 449.9 MB, free: 13.31 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.149e-05/0.4504, allocations: 11.88 kB / 449.9 MB, free: 13.3 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4504, allocations: 0 / 449.9 MB, free: 13.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002019/0.4506, allocations: 85.08 kB / 450 MB, free: 13.22 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.4506, allocations: 4 kB / 450 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.4506, allocations: 0 / 450 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.4507, allocations: 7.938 kB / 450 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.4508, allocations: 16.11 kB / 450 MB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.4508, allocations: 0 / 450 MB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.451, allocations: 12.16 kB / 450.1 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.451, allocations: 15.92 kB / 450.1 MB, free: 13.17 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 8.785e-05/0.4511, allocations: 104.9 kB / 450.2 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.4512, allocations: 7.906 kB / 450.2 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.318e-05/0.4513, allocations: 19.53 kB / 450.2 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.4513, allocations: 0 / 450.2 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.4513, allocations: 4 kB / 450.2 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.4513, allocations: 0 / 450.2 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005684/0.4519, allocations: 192.6 kB / 450.4 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.4519, allocations: 0 / 450.4 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.664e-05/0.452, allocations: 23.92 kB / 450.4 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.452, allocations: 0 / 450.4 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.4521, allocations: 4 kB / 450.4 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.4521, allocations: 0 / 450.4 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.4521, allocations: 4 kB / 450.4 MB, free: 12.78 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003834/0.4525, allocations: 0.5026 MB / 450.9 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.834e-05/0.4526, allocations: 88.97 kB / 451 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.4526, allocations: 3.953 kB / 451 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002806/0.4529, allocations: 12 kB / 451 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.956e-05/0.4529, allocations: 7.984 kB / 451 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.453, allocations: 7.875 kB / 451 MB, free: 12.12 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.924e-05/0.453, allocations: 91.14 kB / 451.1 MB, free: 12.04 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.453, allocations: 0 / 451.1 MB, free: 12.04 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005117/0.4536, allocations: 11.91 kB / 451.1 MB, free: 12.02 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.0001452/0.4537, allocations: 95.73 kB / 451.2 MB, free: 11.92 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001445/0.4539, allocations: 43.38 kB / 451.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4539, allocations: 3.938 kB / 451.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.456e-05/0.454, allocations: 23.88 kB / 451.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.4544, allocations: 3.938 kB / 451.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004132/0.4548, allocations: 134 kB / 451.4 MB, free: 11.71 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.4552, allocations: 0.6965 MB / 452.1 MB, free: 10.99 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.618e-05/0.4553, allocations: 4 kB / 452.1 MB, free: 10.98 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.552e-05/0.4553, allocations: 11.44 kB / 452.2 MB, free: 10.97 MB / 330.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4553, allocations: 0 / 452.2 MB, free: 10.97 MB / 330.7 MB Notification: Performance of Templates: time 0.002413/0.4577, allocations: 451 kB / 452.6 MB, free: 10.54 MB / 330.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