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.00141/0.00141, allocations: 186.9 kB / 16.41 MB, free: 5.727 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.811/1.811, allocations: 205.4 MB / 222.5 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.001094/0.001094, allocations: 95.38 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003629/0.0003629, allocations: 8 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3137, allocations: 47.56 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1144/0.4282, allocations: 76.09 MB / 450.6 MB, free: 4.688 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/0.4285, allocations: 75.97 kB / 450.7 MB, free: 4.613 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00553/0.434, allocations: 1.476 MB / 452.2 MB, free: 3.133 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.434, allocations: 0 / 452.2 MB, free: 3.133 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.371e-06/0.4341, allocations: 0 / 452.2 MB, free: 3.133 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.0004825/0.4346, allocations: 371.1 kB / 452.5 MB, free: 2.723 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.4346, allocations: 12.03 kB / 452.5 MB, free: 2.711 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.4347, allocations: 11.91 kB / 452.5 MB, free: 2.699 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.4348, allocations: 182.9 kB / 452.7 MB, free: 2.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.4348, allocations: 8 kB / 452.7 MB, free: 2.473 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.4349, allocations: 7.953 kB / 452.7 MB, free: 2.465 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003113/0.4352, allocations: 110 kB / 452.8 MB, free: 2.336 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.4352, allocations: 3.938 kB / 452.9 MB, free: 2.332 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.851e-05/0.4353, allocations: 12 kB / 452.9 MB, free: 2.32 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.4353, allocations: 0 / 452.9 MB, free: 2.32 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003209/0.4356, allocations: 67.88 kB / 452.9 MB, free: 2.254 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007354/0.4363, allocations: 0.6303 MB / 453.6 MB, free: 1.559 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/0.4366, allocations: 125 kB / 453.7 MB, free: 1.391 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.4367, allocations: 8.062 kB / 453.7 MB, free: 1.383 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.4367, allocations: 36.56 kB / 453.7 MB, free: 1.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.713e-06/0.4367, allocations: 0 / 453.7 MB, free: 1.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006702/0.4374, allocations: 137.8 kB / 453.9 MB, free: 1.199 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.521e-05/0.4375, allocations: 162.2 kB / 454 MB, free: 1.004 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.686e-05/0.4376, allocations: 105 kB / 454.1 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.4376, allocations: 25.95 kB / 454.1 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.32e-05/0.4377, allocations: 174.4 kB / 454.3 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.4378, allocations: 19.8 kB / 454.3 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.692e-06/0.4378, allocations: 0 / 454.3 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.4379, allocations: 314.8 kB / 454.6 MB, free: 364 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.4381, allocations: 27.97 kB / 454.7 MB, free: 336 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.4383, allocations: 60.28 kB / 454.7 MB, free: 260 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.4384, allocations: 31.98 kB / 454.8 MB, free: 228 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4384, allocations: 7.875 kB / 454.8 MB, free: 220 kB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003794/0.4388, allocations: 93.59 kB / 454.9 MB, free: 120 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.4389, allocations: 12.16 kB / 454.9 MB, free: 108 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.4389, allocations: 0 / 454.9 MB, free: 108 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.4389, allocations: 4 kB / 454.9 MB, free: 104 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.4391, allocations: 15.92 kB / 454.9 MB, free: 88 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.4391, allocations: 4 kB / 454.9 MB, free: 84 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.4392, allocations: 19.89 kB / 454.9 MB, free: 64 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.4392, allocations: 0 / 454.9 MB, free: 64 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.0001253/0.4394, allocations: 121.8 kB / 455 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.4395, allocations: 7.938 kB / 455 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.545e-05/0.4395, allocations: 15.48 kB / 455.1 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.4395, allocations: 0 / 455.1 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.4396, allocations: 4 kB / 455.1 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.4396, allocations: 3.984 kB / 455.1 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004637/0.44, allocations: 185.6 kB / 455.2 MB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4401, allocations: 0 / 455.2 MB, free: 15.67 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.4402, allocations: 12 kB / 455.3 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.4402, allocations: 3.938 kB / 455.3 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.4402, allocations: 11.98 kB / 455.3 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.4402, allocations: 128 / 455.3 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.4403, allocations: 8 kB / 455.3 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005345/0.4408, allocations: 0.5306 MB / 455.8 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.895e-05/0.4409, allocations: 85.02 kB / 455.9 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.4409, allocations: 11.95 kB / 455.9 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00029/0.4412, allocations: 15.92 kB / 455.9 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.4413, allocations: 7.984 kB / 455.9 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.4413, allocations: 4 kB / 455.9 MB, free: 14.92 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.433e-05/0.4414, allocations: 87.72 kB / 456 MB, free: 14.84 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.515e-06/0.4414, allocations: 0 / 456 MB, free: 14.84 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004821/0.4419, allocations: 15.94 kB / 456 MB, free: 14.82 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.0001188/0.442, allocations: 107.2 kB / 456.1 MB, free: 14.71 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003588/0.4424, allocations: 63.91 kB / 456.2 MB, free: 14.64 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4424, allocations: 320 / 456.2 MB, free: 14.64 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.4426, allocations: 43.91 kB / 456.2 MB, free: 14.6 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.443, allocations: 8.328 kB / 456.3 MB, free: 14.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005334/0.4435, allocations: 258.7 kB / 456.5 MB, free: 14.3 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.4438, allocations: 0.6887 MB / 457.2 MB, free: 13.58 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.661e-05/0.4439, allocations: 11.44 kB / 457.2 MB, free: 13.57 MB / 346.7 MB Notification: Performance of SimCode: time 6.71e-07/0.4439, allocations: 4 kB / 457.2 MB, free: 13.57 MB / 346.7 MB Notification: Performance of Templates: time 0.002681/0.4466, allocations: 0.8612 MB / 458.1 MB, free: 12.71 MB / 346.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