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.0008907/0.0008907, allocations: 177 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.633/1.633, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000823/0.000823, allocations: 82.7 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.874e-05/1.876e-05, allocations: 4 kB / 315.5 MB, free: 22.74 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08406/0.08409, allocations: 47.58 MB / 363.1 MB, free: 7.094 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.33/0.4141, allocations: 75.59 MB / 438.6 MB, free: 4.105 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001906/0.4143, allocations: 64.84 kB / 438.7 MB, free: 4.074 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003674/0.418, allocations: 1.451 MB / 440.2 MB, free: 2.816 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.418, allocations: 7.938 kB / 440.2 MB, free: 2.809 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.4181, allocations: 0 / 440.2 MB, free: 2.809 MB / 314.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.0003553/0.4184, allocations: 371.3 kB / 440.5 MB, free: 2.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.4185, allocations: 8.031 kB / 440.5 MB, free: 2.402 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.411e-05/0.4185, allocations: 7.906 kB / 440.5 MB, free: 2.395 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.4186, allocations: 167 kB / 440.7 MB, free: 2.191 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.4187, allocations: 4 kB / 440.7 MB, free: 2.188 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.4187, allocations: 11.95 kB / 440.7 MB, free: 2.176 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.082e-05/0.4188, allocations: 24.62 kB / 440.7 MB, free: 2.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.4189, allocations: 95.09 kB / 440.8 MB, free: 2.059 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.4189, allocations: 0 / 440.8 MB, free: 2.059 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.4189, allocations: 0 / 440.8 MB, free: 2.059 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.419, allocations: 4 kB / 440.8 MB, free: 2.055 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005213/0.4195, allocations: 0.6117 MB / 441.5 MB, free: 1.414 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.699e-05/0.4196, allocations: 99.2 kB / 441.6 MB, free: 1.277 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.279e-05/0.4197, allocations: 44.7 kB / 441.6 MB, free: 1.227 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.4197, allocations: 7.984 kB / 441.6 MB, free: 1.219 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.4197, allocations: 33.88 kB / 441.6 MB, free: 1.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 3.046e-06/0.4197, allocations: 4 kB / 441.6 MB, free: 1.176 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002442/0.42, allocations: 69.28 kB / 441.7 MB, free: 1.105 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.859e-05/0.4201, allocations: 159 kB / 441.9 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.455e-05/0.4202, allocations: 105.1 kB / 442 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.4202, allocations: 29.7 kB / 442 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.326e-05/0.4203, allocations: 92.3 kB / 442.1 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.4203, allocations: 19.73 kB / 442.1 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-06/0.4203, allocations: 0 / 442.1 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.4204, allocations: 318.4 kB / 442.4 MB, free: 364 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.333e-05/0.4204, allocations: 14.66 kB / 442.4 MB, free: 352 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.919e-05/0.4205, allocations: 42.98 kB / 442.5 MB, free: 300 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.975e-05/0.4205, allocations: 11.8 kB / 442.5 MB, free: 292 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4205, allocations: 0 / 442.5 MB, free: 292 kB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001043/0.4206, allocations: 70.91 kB / 442.6 MB, free: 220 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.4207, allocations: 8 kB / 442.6 MB, free: 212 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4207, allocations: 0 / 442.6 MB, free: 212 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.4207, allocations: 4 kB / 442.6 MB, free: 208 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.4208, allocations: 18.8 kB / 442.6 MB, free: 192 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.4208, allocations: 7.938 kB / 442.6 MB, free: 184 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.507e-05/0.4209, allocations: 8.156 kB / 442.6 MB, free: 176 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.4209, allocations: 4 kB / 442.6 MB, free: 172 kB / 314.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.047e-05/0.421, allocations: 115.9 kB / 442.7 MB, free: 52 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.149e-05/0.4211, allocations: 7.906 kB / 442.7 MB, free: 44 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.282e-05/0.4211, allocations: 14.72 kB / 442.7 MB, free: 32 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.4211, allocations: 7.938 kB / 442.7 MB, free: 24 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4211, allocations: 0 / 442.7 MB, free: 24 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.4212, allocations: 4 kB / 442.7 MB, free: 20 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003362/0.4215, allocations: 162.3 kB / 442.9 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4215, allocations: 4 kB / 442.9 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.911e-05/0.4216, allocations: 15.98 kB / 442.9 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.4216, allocations: 0 / 442.9 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.4216, allocations: 4 kB / 442.9 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.4216, allocations: 3.938 kB / 442.9 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.4216, allocations: 0 / 442.9 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.4219, allocations: 0.4998 MB / 443.4 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-05/0.4219, allocations: 81.11 kB / 443.5 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.422, allocations: 3.984 kB / 443.5 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.4222, allocations: 15.62 kB / 443.5 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.451e-05/0.4222, allocations: 15.88 kB / 443.5 MB, free: 15.15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.4222, allocations: 8 kB / 443.6 MB, free: 15.14 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.769e-05/0.4223, allocations: 86.84 kB / 443.6 MB, free: 15.06 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4223, allocations: 0 / 443.6 MB, free: 15.06 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003462/0.4226, allocations: 11.91 kB / 443.7 MB, free: 15.05 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.0001209/0.4228, allocations: 102.6 kB / 443.8 MB, free: 14.94 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.676e-05/0.4229, allocations: 31.25 kB / 443.8 MB, free: 14.92 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.4229, allocations: 0 / 443.8 MB, free: 14.92 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.846e-05/0.4229, allocations: 23.56 kB / 443.8 MB, free: 14.9 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.4232, allocations: 8.484 kB / 443.8 MB, free: 14.89 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003101/0.4235, allocations: 124.2 kB / 443.9 MB, free: 14.75 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.4238, allocations: 0.6963 MB / 444.6 MB, free: 14.02 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.545e-05/0.4239, allocations: 0.5 kB / 444.6 MB, free: 14.02 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.191e-05/0.4239, allocations: 11.44 kB / 444.6 MB, free: 14.01 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4239, allocations: 0 / 444.6 MB, free: 14.01 MB / 330.7 MB Notification: Performance of Templates: time 0.002192/0.4261, allocations: 419.4 kB / 445.1 MB, free: 13.61 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