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.003032/0.003038, allocations: 189.2 kB / 16.4 MB, free: 5.625 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.643/3.643, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001777/0.001776, allocations: 94.86 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 8 kB / 326.9 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1463, allocations: 47.59 MB / 374.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003294/0.1496, allocations: 1.275 MB / 375.8 MB, free: 14.15 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.151, allocations: 436.2 kB / 376.2 MB, free: 13.72 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.682e-05/0.1512, allocations: 0 / 376.2 MB, free: 13.72 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.594e-05/0.1512, allocations: 7.938 kB / 376.2 MB, free: 13.71 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.1514, allocations: 15.97 kB / 376.3 MB, free: 13.7 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001751/0.1516, allocations: 15.94 kB / 376.3 MB, free: 13.68 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.1517, allocations: 35.94 kB / 376.3 MB, free: 13.64 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002282/0.152, allocations: 39.84 kB / 376.3 MB, free: 13.61 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.1521, allocations: 23.86 kB / 376.4 MB, free: 13.58 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.1523, allocations: 23.86 kB / 376.4 MB, free: 13.56 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.1523, allocations: 0 / 376.4 MB, free: 13.56 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.223e-05/0.1523, allocations: 4 kB / 376.4 MB, free: 13.55 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.475e-05/0.1524, allocations: 11.92 kB / 376.4 MB, free: 13.54 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.752e-05/0.1524, allocations: 33.7 kB / 376.4 MB, free: 13.5 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.1526, allocations: 39.91 kB / 376.5 MB, free: 13.46 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.1526, allocations: 4 kB / 376.5 MB, free: 13.46 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.1526, allocations: 0 / 376.5 MB, free: 13.46 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1526, allocations: 0 / 376.5 MB, free: 13.46 MB / 282.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.0007795/0.1534, allocations: 371.4 kB / 376.8 MB, free: 13.05 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.305e-05/0.1535, allocations: 16.03 kB / 376.9 MB, free: 13.04 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.235e-05/0.1536, allocations: 11.84 kB / 376.9 MB, free: 13.02 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.1538, allocations: 174.9 kB / 377 MB, free: 12.81 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.851e-05/0.1539, allocations: 3.953 kB / 377.1 MB, free: 12.81 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.1539, allocations: 11.98 kB / 377.1 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004779/0.1544, allocations: 121.9 kB / 377.2 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.1544, allocations: 0 / 377.2 MB, free: 12.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.509e-05/0.1545, allocations: 4 kB / 377.2 MB, free: 12.65 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.1545, allocations: 0 / 377.2 MB, free: 12.65 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004456/0.155, allocations: 67.89 kB / 377.3 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.1562, allocations: 0.642 MB / 377.9 MB, free: 11.88 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003945/0.1566, allocations: 125 kB / 378 MB, free: 11.71 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.1567, allocations: 0 / 378 MB, free: 11.71 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.257e-05/0.1567, allocations: 34.62 kB / 378.1 MB, free: 11.67 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.605e-06/0.1568, allocations: 0 / 378.1 MB, free: 11.67 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0009833/0.1578, allocations: 137.5 kB / 378.2 MB, free: 11.53 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.1579, allocations: 170.8 kB / 378.4 MB, free: 11.32 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.1581, allocations: 121.7 kB / 378.5 MB, free: 11.2 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.48e-05/0.1581, allocations: 25.7 kB / 378.5 MB, free: 11.16 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.1582, allocations: 162.5 kB / 378.7 MB, free: 11 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.273e-05/0.1583, allocations: 19.73 kB / 378.7 MB, free: 10.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.146e-06/0.1583, allocations: 0 / 378.7 MB, free: 10.98 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.1585, allocations: 318.8 kB / 379 MB, free: 10.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.1588, allocations: 23.98 kB / 379 MB, free: 10.64 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.159, allocations: 64.28 kB / 379.1 MB, free: 10.56 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/0.1592, allocations: 35.91 kB / 379.1 MB, free: 10.53 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.1593, allocations: 0 / 379.1 MB, free: 10.53 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005462/0.1598, allocations: 101.6 kB / 379.2 MB, free: 10.42 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.1599, allocations: 4 kB / 379.2 MB, free: 10.42 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.1599, allocations: 4 kB / 379.2 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.1599, allocations: 0 / 379.2 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.1602, allocations: 23.88 kB / 379.2 MB, free: 10.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.1602, allocations: 3.984 kB / 379.2 MB, free: 10.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.1604, allocations: 12.08 kB / 379.3 MB, free: 10.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.1604, allocations: 8 kB / 379.3 MB, free: 10.37 MB / 282.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 (integerStep.y,booleanStep.y,part.subControlBus.myBooleanSignal) * 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.000159/0.1606, allocations: 113.8 kB / 379.4 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001933/0.1608, allocations: 11.89 kB / 379.4 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.936e-05/0.1608, allocations: 15.48 kB / 379.4 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.1609, allocations: 0 / 379.4 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.639e-06/0.1609, allocations: 4 kB / 379.4 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.1609, allocations: 0 / 379.4 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008279/0.1617, allocations: 189.5 kB / 379.6 MB, free: 9.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.1618, allocations: 0 / 379.6 MB, free: 9.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.162, allocations: 23.92 kB / 379.6 MB, free: 9.957 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.162, allocations: 0 / 379.6 MB, free: 9.957 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.872e-05/0.162, allocations: 4 kB / 379.6 MB, free: 9.953 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.162, allocations: 0 / 379.6 MB, free: 9.953 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.162, allocations: 7.938 kB / 379.6 MB, free: 9.945 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008742/0.1629, allocations: 0.5384 MB / 380.2 MB, free: 9.363 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.994e-05/0.163, allocations: 89.05 kB / 380.2 MB, free: 9.258 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.1631, allocations: 4 kB / 380.3 MB, free: 9.254 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005381/0.1636, allocations: 8 kB / 380.3 MB, free: 9.246 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.912e-05/0.1638, allocations: 7.984 kB / 380.3 MB, free: 9.238 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.1638, allocations: 4 kB / 380.3 MB, free: 9.234 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.00011/0.1639, allocations: 95.7 kB / 380.4 MB, free: 9.141 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.1639, allocations: 0 / 380.4 MB, free: 9.141 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009127/0.1649, allocations: 15.91 kB / 380.4 MB, free: 9.125 MB / 282.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 (integerStep.y,booleanStep.y,part.subControlBus.myBooleanSignal) * 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.0001783/0.1651, allocations: 99.75 kB / 380.5 MB, free: 9.02 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005608/0.1656, allocations: 72.02 kB / 380.5 MB, free: 8.949 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.1657, allocations: 4 kB / 380.6 MB, free: 8.945 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002633/0.1659, allocations: 35.98 kB / 380.6 MB, free: 8.91 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006819/0.1666, allocations: 7.891 kB / 380.6 MB, free: 8.902 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009035/0.1676, allocations: 270 kB / 380.9 MB, free: 8.598 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/0.1681, allocations: 0.7043 MB / 381.6 MB, free: 7.867 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.488e-05/0.1682, allocations: 11.44 kB / 381.6 MB, free: 7.855 MB / 282.7 MB Notification: Performance of SimCode: time 1.733e-06/0.1682, allocations: 3.938 kB / 381.6 MB, free: 7.852 MB / 282.7 MB Notification: Performance of Templates: time 0.01006/0.1782, allocations: 0.8404 MB / 382.4 MB, free: 7.012 MB / 282.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