Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.BusUsage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00163/0.00163, allocations: 205.6 kB / 18.11 MB, free: 3.609 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 226.5 MB / 245.4 MB, free: 6.34 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009239/0.0009239, allocations: 99.34 kB / 297.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002538/0.000254, allocations: 11.98 kB / 358.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2407, allocations: 51.3 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1016/0.3423, allocations: 77.71 MB / 487.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.3427, allocations: 67.97 kB / 487.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004925/0.3476, allocations: 1.614 MB / 488.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3476, allocations: 3.938 kB / 488.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.3476, allocations: 4 kB / 488.8 MB, free: 12.12 MB / 362.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.000497/0.3481, allocations: 375.8 kB / 489.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.3482, allocations: 8.031 kB / 489.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.3484, allocations: 24.83 kB / 489.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.3485, allocations: 176.2 kB / 489.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.3486, allocations: 8.375 kB / 489.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.3486, allocations: 4.375 kB / 489.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/0.3489, allocations: 122.2 kB / 489.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.3489, allocations: 192 / 489.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.3489, allocations: 7.938 kB / 489.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.3489, allocations: 4 kB / 489.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001899/0.3491, allocations: 59.89 kB / 489.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007664/0.3499, allocations: 0.6458 MB / 490.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.3501, allocations: 125 kB / 490.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.3502, allocations: 56.34 kB / 490.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.3503, allocations: 0 / 490.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.3503, allocations: 42.5 kB / 490.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.3503, allocations: 0 / 490.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004754/0.3508, allocations: 138 kB / 490.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.068e-05/0.3509, allocations: 158.2 kB / 490.7 MB, free: 9.918 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.351, allocations: 119.8 kB / 490.8 MB, free: 9.793 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.351, allocations: 25.7 kB / 490.8 MB, free: 9.762 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.73e-05/0.3511, allocations: 92.12 kB / 490.9 MB, free: 9.668 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.3512, allocations: 23.66 kB / 490.9 MB, free: 9.645 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-06/0.3512, allocations: 8.031 kB / 491 MB, free: 9.637 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3513, allocations: 326.7 kB / 491.3 MB, free: 9.309 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.3515, allocations: 23.98 kB / 491.3 MB, free: 9.285 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.3516, allocations: 56.28 kB / 491.4 MB, free: 9.215 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/0.3519, allocations: 92.2 kB / 491.4 MB, free: 9.109 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.3519, allocations: 0 / 491.4 MB, free: 9.109 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002823/0.3522, allocations: 105.6 kB / 491.5 MB, free: 9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.3522, allocations: 4 kB / 491.6 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3522, allocations: 4.125 kB / 491.6 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.3522, allocations: 7.969 kB / 491.6 MB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.3523, allocations: 16 kB / 491.6 MB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.3524, allocations: 0 / 491.6 MB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.052e-05/0.3524, allocations: 15.98 kB / 491.6 MB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.3525, allocations: 12 kB / 491.6 MB, free: 8.941 MB / 362.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 9.965e-05/0.3526, allocations: 117.8 kB / 491.7 MB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.296e-05/0.3527, allocations: 7.906 kB / 491.7 MB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.768e-05/0.3527, allocations: 15.52 kB / 491.7 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3527, allocations: 3.938 kB / 491.7 MB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.3527, allocations: 4 kB / 491.8 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3527, allocations: 0 / 491.8 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003708/0.3531, allocations: 189.6 kB / 491.9 MB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3531, allocations: 0 / 491.9 MB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.235e-05/0.3532, allocations: 19.98 kB / 492 MB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.3532, allocations: 0 / 492 MB, free: 8.527 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.3532, allocations: 4 kB / 492 MB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.3532, allocations: 0 / 492 MB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3532, allocations: 0 / 492 MB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003967/0.3536, allocations: 0.4995 MB / 492.5 MB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/0.3537, allocations: 85.02 kB / 492.5 MB, free: 7.906 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.3537, allocations: 4 kB / 492.5 MB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.3539, allocations: 15.98 kB / 492.6 MB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/0.354, allocations: 11.92 kB / 492.6 MB, free: 7.875 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.354, allocations: 4 kB / 492.6 MB, free: 7.871 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.833e-05/0.3541, allocations: 91.27 kB / 492.7 MB, free: 7.781 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3541, allocations: 0 / 492.7 MB, free: 7.781 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00037/0.3544, allocations: 12 kB / 492.7 MB, free: 7.77 MB / 362.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.0001587/0.3546, allocations: 107.1 kB / 492.8 MB, free: 7.656 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002299/0.3548, allocations: 59.91 kB / 492.8 MB, free: 7.598 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3549, allocations: 0 / 492.8 MB, free: 7.598 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.355, allocations: 52.22 kB / 492.9 MB, free: 7.547 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004989/0.3555, allocations: 6.75 kB / 492.9 MB, free: 7.543 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000523/0.356, allocations: 230.4 kB / 493.1 MB, free: 7.277 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.3563, allocations: 0.6887 MB / 493.8 MB, free: 6.562 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.141e-05/0.3564, allocations: 8 kB / 493.8 MB, free: 6.555 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.539e-05/0.3564, allocations: 11.44 kB / 493.8 MB, free: 6.543 MB / 362.7 MB Notification: Performance of SimCode: time 9.42e-07/0.3564, allocations: 0 / 493.8 MB, free: 6.543 MB / 362.7 MB Notification: Performance of Templates: time 0.002429/0.3589, allocations: 445.9 kB / 494.3 MB, free: 6.109 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.BusUsage.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_trunk_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.BusUsage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches