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.002196/0.002196, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.037/2.037, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001082/0.001081, allocations: 99.81 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.446e-05/2.449e-05, allocations: 4 kB / 314.8 MB, free: 9.164 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3715, allocations: 47.57 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1247/0.4963, allocations: 75.35 MB / 437.7 MB, free: 10.97 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/0.4967, allocations: 67.97 kB / 437.7 MB, free: 10.9 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.006038/0.5027, allocations: 1.445 MB / 439.2 MB, free: 9.473 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5028, allocations: 6.562 kB / 439.2 MB, free: 9.469 MB / 331.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.5028, allocations: 4 kB / 439.2 MB, free: 9.465 MB / 331.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.0005769/0.5034, allocations: 364.6 kB / 439.6 MB, free: 9.066 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.5034, allocations: 13.94 kB / 439.6 MB, free: 9.055 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.947e-05/0.5035, allocations: 7.906 kB / 439.6 MB, free: 9.047 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.5037, allocations: 173.4 kB / 439.7 MB, free: 8.84 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.5037, allocations: 0 / 439.7 MB, free: 8.84 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.5038, allocations: 7.953 kB / 439.7 MB, free: 8.832 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001613/0.5039, allocations: 26.25 kB / 439.8 MB, free: 8.809 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.5042, allocations: 94.47 kB / 439.9 MB, free: 8.695 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.5042, allocations: 0.9375 kB / 439.9 MB, free: 8.695 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.5042, allocations: 0 / 439.9 MB, free: 8.695 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.5042, allocations: 0 / 439.9 MB, free: 8.695 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008041/0.505, allocations: 0.6127 MB / 440.5 MB, free: 8.035 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.5052, allocations: 105 kB / 440.6 MB, free: 7.891 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.653e-05/0.5053, allocations: 38.36 kB / 440.6 MB, free: 7.84 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.5054, allocations: 5.953 kB / 440.6 MB, free: 7.836 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.828e-05/0.5054, allocations: 44.62 kB / 440.7 MB, free: 7.785 MB / 331.1 MB Notification: Performance of pre-optimization done (n=6): time 2.295e-06/0.5054, allocations: 0 / 440.7 MB, free: 7.785 MB / 331.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003309/0.5058, allocations: 69.53 kB / 440.7 MB, free: 7.711 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.923e-05/0.5059, allocations: 154.2 kB / 440.9 MB, free: 7.523 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.506, allocations: 110.3 kB / 441 MB, free: 7.41 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.506, allocations: 25.7 kB / 441 MB, free: 7.379 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.5062, allocations: 166.6 kB / 441.2 MB, free: 7.215 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.5062, allocations: 16.86 kB / 441.2 MB, free: 7.199 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-06/0.5062, allocations: 0 / 441.2 MB, free: 7.199 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.5064, allocations: 326.8 kB / 441.5 MB, free: 6.871 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.95e-05/0.5064, allocations: 8 kB / 441.5 MB, free: 6.863 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.577e-05/0.5065, allocations: 40.23 kB / 441.6 MB, free: 6.809 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.04e-05/0.5066, allocations: 12 kB / 441.6 MB, free: 6.797 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.361e-06/0.5066, allocations: 4 kB / 441.6 MB, free: 6.793 MB / 331.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001768/0.5068, allocations: 61.53 kB / 441.6 MB, free: 6.727 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.5068, allocations: 9.562 kB / 441.7 MB, free: 6.719 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.5068, allocations: 0 / 441.7 MB, free: 6.719 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.5069, allocations: 160 / 441.7 MB, free: 6.719 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.507, allocations: 27.92 kB / 441.7 MB, free: 6.691 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.5071, allocations: 5.906 kB / 441.7 MB, free: 6.688 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.5072, allocations: 11.98 kB / 441.7 MB, free: 6.676 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.5072, allocations: 4 kB / 441.7 MB, free: 6.672 MB / 331.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 (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 9.838e-05/0.5073, allocations: 109.6 kB / 441.8 MB, free: 6.559 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.5075, allocations: 0 / 441.8 MB, free: 6.559 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.246e-05/0.5075, allocations: 18.84 kB / 441.8 MB, free: 6.543 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/0.5075, allocations: 7.984 kB / 441.8 MB, free: 6.535 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.5075, allocations: 0 / 441.8 MB, free: 6.535 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.5076, allocations: 0 / 441.8 MB, free: 6.535 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005002/0.5081, allocations: 158.1 kB / 442 MB, free: 6.344 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.5081, allocations: 4 kB / 442 MB, free: 6.34 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.5082, allocations: 19.84 kB / 442 MB, free: 6.324 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/0.5082, allocations: 4 kB / 442 MB, free: 6.32 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.5083, allocations: 3.938 kB / 442 MB, free: 6.316 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.5083, allocations: 4 kB / 442 MB, free: 6.312 MB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.5083, allocations: 4 kB / 442 MB, free: 6.309 MB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003911/0.5087, allocations: 0.4995 MB / 442.5 MB, free: 5.766 MB / 331.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.435e-05/0.5088, allocations: 81.02 kB / 442.6 MB, free: 5.668 MB / 331.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.5088, allocations: 4 kB / 442.6 MB, free: 5.664 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003585/0.5092, allocations: 11.98 kB / 442.6 MB, free: 5.652 MB / 331.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.622e-05/0.5093, allocations: 15.89 kB / 442.6 MB, free: 5.637 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-06/0.5093, allocations: 1.031 kB / 442.6 MB, free: 5.637 MB / 331.1 MB Notification: Performance of sorting global known variables: time 7.04e-05/0.5094, allocations: 96.58 kB / 442.7 MB, free: 5.543 MB / 331.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.5094, allocations: 0 / 442.7 MB, free: 5.543 MB / 331.1 MB Notification: Performance of remove unused functions: time 0.000503/0.5099, allocations: 8 kB / 442.7 MB, free: 5.535 MB / 331.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 (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.0001313/0.51, allocations: 95.25 kB / 442.8 MB, free: 5.434 MB / 331.1 MB Notification: Performance of simCode: created initialization part: time 0.0001538/0.5102, allocations: 31.94 kB / 442.9 MB, free: 5.402 MB / 331.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.5102, allocations: 0 / 442.9 MB, free: 5.402 MB / 331.1 MB Notification: Performance of simCode: created simulation system equations: time 7.885e-05/0.5103, allocations: 24.48 kB / 442.9 MB, free: 5.379 MB / 331.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.5107, allocations: 9.25 kB / 442.9 MB, free: 5.371 MB / 331.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004508/0.5112, allocations: 151.3 kB / 443 MB, free: 5.184 MB / 331.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003573/0.5115, allocations: 0.6943 MB / 443.7 MB, free: 4.465 MB / 331.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.922e-05/0.5116, allocations: 7.438 kB / 443.7 MB, free: 4.457 MB / 331.1 MB Notification: Performance of SimCode: time 2.976e-06/0.5116, allocations: 0 / 443.7 MB, free: 4.457 MB / 331.1 MB Notification: Performance of Templates: time 0.003105/0.5147, allocations: 0.8451 MB / 444.6 MB, free: 3.625 MB / 331.1 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