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.002978/0.002977, allocations: 180.5 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.55/3.55, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.001295/0.001296, allocations: 89.03 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004995/0.0004998, allocations: 8 kB / 328.1 MB, free: 15.96 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5295/0.53, allocations: 47.56 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2117/0.7417, allocations: 76.14 MB / 451.8 MB, free: 4.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004752/0.7423, allocations: 67.97 kB / 451.9 MB, free: 4.453 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006807/0.7491, allocations: 1.48 MB / 453.4 MB, free: 2.965 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.37e-06/0.7492, allocations: 0 / 453.4 MB, free: 2.965 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.597e-05/0.7492, allocations: 0 / 453.4 MB, free: 2.965 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.0009092/0.7501, allocations: 371.3 kB / 453.7 MB, free: 2.551 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.501e-05/0.7503, allocations: 8.031 kB / 453.8 MB, free: 2.543 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.326e-05/0.7503, allocations: 8.844 kB / 453.8 MB, free: 2.535 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.7507, allocations: 184.1 kB / 453.9 MB, free: 2.316 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.102e-05/0.7508, allocations: 12.38 kB / 454 MB, free: 2.305 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.7508, allocations: 4.375 kB / 454 MB, free: 2.301 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004267/0.7512, allocations: 110.5 kB / 454.1 MB, free: 2.172 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.7513, allocations: 4.125 kB / 454.1 MB, free: 2.168 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.738e-05/0.7513, allocations: 11.92 kB / 454.1 MB, free: 2.156 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.7513, allocations: 4 kB / 454.1 MB, free: 2.152 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003168/0.7517, allocations: 67.84 kB / 454.2 MB, free: 2.086 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.7528, allocations: 0.6381 MB / 454.8 MB, free: 1.383 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003319/0.7532, allocations: 119.3 kB / 454.9 MB, free: 1.223 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.7534, allocations: 68.27 kB / 455 MB, free: 1.141 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/0.7535, allocations: 4 kB / 455 MB, free: 1.137 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.531e-05/0.7535, allocations: 30.56 kB / 455 MB, free: 1.098 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.845e-06/0.7536, allocations: 4 kB / 455 MB, free: 1.094 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007962/0.7544, allocations: 138.1 kB / 455.1 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000165/0.7545, allocations: 158.2 kB / 455.3 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.7548, allocations: 129.7 kB / 455.4 MB, free: 0.625 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.7548, allocations: 25.7 kB / 455.5 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.7549, allocations: 95.98 kB / 455.5 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.755, allocations: 11.81 kB / 455.6 MB, free: 496 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.982e-06/0.755, allocations: 0 / 455.6 MB, free: 496 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002289/0.7552, allocations: 326.8 kB / 455.9 MB, free: 160 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.7553, allocations: 28.02 kB / 455.9 MB, free: 132 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.7555, allocations: 56.27 kB / 456 MB, free: 60 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003281/0.7558, allocations: 92.2 kB / 456.1 MB, free: 15.95 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.7558, allocations: 3.938 kB / 456.1 MB, free: 15.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003421/0.7562, allocations: 101.5 kB / 456.2 MB, free: 15.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.161e-05/0.7563, allocations: 12.16 kB / 456.2 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.7563, allocations: 0 / 456.2 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.646e-05/0.7563, allocations: 4 kB / 456.2 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.7565, allocations: 11.98 kB / 456.2 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.1e-05/0.7565, allocations: 7.938 kB / 456.2 MB, free: 15.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.73e-05/0.7566, allocations: 8 kB / 456.2 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.7567, allocations: 7.938 kB / 456.2 MB, free: 15.79 MB / 346.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.0001819/0.7568, allocations: 121.8 kB / 456.3 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.757, allocations: 7.906 kB / 456.3 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6e-05/0.7571, allocations: 15.48 kB / 456.3 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.7571, allocations: 4 kB / 456.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/0.7571, allocations: 0 / 456.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.7571, allocations: 0 / 456.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007931/0.7579, allocations: 189.7 kB / 456.5 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.758, allocations: 4 kB / 456.5 MB, free: 15.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.7581, allocations: 15.98 kB / 456.6 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.404e-05/0.7581, allocations: 8 kB / 456.6 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.7581, allocations: 0 / 456.6 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.866e-06/0.7582, allocations: 3.938 kB / 456.6 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.7582, allocations: 7.938 kB / 456.6 MB, free: 15.37 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.7592, allocations: 0.4926 MB / 457.1 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.7594, allocations: 85.02 kB / 457.2 MB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.7594, allocations: 4 kB / 457.2 MB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003548/0.7598, allocations: 8 kB / 457.2 MB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.7599, allocations: 19.86 kB / 457.2 MB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.7599, allocations: 4 kB / 457.2 MB, free: 14.72 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001055/0.7601, allocations: 91.27 kB / 457.3 MB, free: 14.63 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.427e-06/0.7601, allocations: 0 / 457.3 MB, free: 14.63 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006592/0.7607, allocations: 15.94 kB / 457.3 MB, free: 14.61 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.0002236/0.761, allocations: 99.19 kB / 457.4 MB, free: 14.5 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003751/0.7614, allocations: 71.89 kB / 457.5 MB, free: 14.43 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.7614, allocations: 0 / 457.5 MB, free: 14.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.7616, allocations: 40.36 kB / 457.5 MB, free: 14.39 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009686/0.7625, allocations: 8 kB / 457.5 MB, free: 14.39 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.7636, allocations: 258.5 kB / 457.8 MB, free: 14.09 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006416/0.7643, allocations: 0.6887 MB / 458.4 MB, free: 13.38 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.65e-05/0.7644, allocations: 11.44 kB / 458.5 MB, free: 13.37 MB / 346.7 MB Notification: Performance of SimCode: time 1.062e-06/0.7644, allocations: 0 / 458.5 MB, free: 13.37 MB / 346.7 MB Notification: Performance of Templates: time 0.004049/0.7684, allocations: 0.8653 MB / 459.3 MB, free: 12.5 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