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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 108.4 kB / 18.34 MB, free: 4.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 190.9 kB / 19.28 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.389/1.389, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 60.14 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1124, allocations: 46.62 MB / 328.7 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.00342/0.1158, allocations: 1.59 MB / 330.3 MB, free: 2.156 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007935/0.1166, allocations: 468.6 kB / 330.8 MB, free: 1.691 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.813e-05/0.1167, allocations: 0 / 330.8 MB, free: 1.691 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 4.265e-05/0.1168, allocations: 15.86 kB / 330.8 MB, free: 1.676 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.039e-05/0.1169, allocations: 11.88 kB / 330.8 MB, free: 1.664 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001679/0.1171, allocations: 15.98 kB / 330.8 MB, free: 1.648 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.1173, allocations: 59.77 kB / 330.9 MB, free: 1.59 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.1174, allocations: 51.89 kB / 330.9 MB, free: 1.539 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.1176, allocations: 27.86 kB / 330.9 MB, free: 1.512 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.314e-05/0.1176, allocations: 31.84 kB / 331 MB, free: 1.48 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.1177, allocations: 4 kB / 331 MB, free: 1.477 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.161e-05/0.1177, allocations: 4 kB / 331 MB, free: 1.473 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.304e-05/0.1177, allocations: 23.86 kB / 331 MB, free: 1.449 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.72e-05/0.1177, allocations: 31.86 kB / 331 MB, free: 1.418 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.1179, allocations: 67.66 kB / 331.1 MB, free: 1.352 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1179, allocations: 0 / 331.1 MB, free: 1.352 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1179, allocations: 0 / 331.1 MB, free: 1.352 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1179, allocations: 4 kB / 331.1 MB, free: 1.348 MB / 270.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.0004739/0.1184, allocations: 371.3 kB / 331.5 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.1184, allocations: 8.031 kB / 331.5 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/0.1185, allocations: 8.844 kB / 331.5 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.1186, allocations: 176.2 kB / 331.6 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.1186, allocations: 8.375 kB / 331.7 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.1187, allocations: 4.375 kB / 331.7 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.1189, allocations: 122.2 kB / 331.8 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.1189, allocations: 0 / 331.8 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.1189, allocations: 8 kB / 331.8 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1189, allocations: 4 kB / 331.8 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001616/0.1191, allocations: 55.89 kB / 331.8 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006431/0.1198, allocations: 0.6418 MB / 332.5 MB, free: 15.79 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.1199, allocations: 113.1 kB / 332.6 MB, free: 15.63 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.88e-05/0.12, allocations: 60.22 kB / 332.7 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.1201, allocations: 3.938 kB / 332.7 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.1201, allocations: 34.56 kB / 332.7 MB, free: 15.51 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 2.505e-06/0.1201, allocations: 11.92 kB / 332.7 MB, free: 15.5 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004099/0.1205, allocations: 117.5 kB / 332.8 MB, free: 15.38 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.867e-05/0.1206, allocations: 162.1 kB / 333 MB, free: 15.18 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.782e-05/0.1207, allocations: 130.2 kB / 333.1 MB, free: 15.04 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.1207, allocations: 29.7 kB / 333.1 MB, free: 15.01 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.081e-05/0.1208, allocations: 100.1 kB / 333.2 MB, free: 14.91 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.1208, allocations: 15.7 kB / 333.2 MB, free: 14.89 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.217e-05/0.1209, allocations: 25.72 kB / 333.3 MB, free: 14.86 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.121, allocations: 318.8 kB / 333.6 MB, free: 14.54 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.863e-05/0.1211, allocations: 19.98 kB / 333.6 MB, free: 14.52 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.091e-05/0.1212, allocations: 56.27 kB / 333.7 MB, free: 14.45 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.1214, allocations: 80.2 kB / 333.7 MB, free: 14.36 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1214, allocations: 0 / 333.7 MB, free: 14.36 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002255/0.1216, allocations: 93.53 kB / 333.8 MB, free: 14.26 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.1217, allocations: 4 kB / 333.8 MB, free: 14.25 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1217, allocations: 4 kB / 333.8 MB, free: 14.25 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.1217, allocations: 0 / 333.8 MB, free: 14.25 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.84e-05/0.1218, allocations: 20.14 kB / 333.9 MB, free: 14.23 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1218, allocations: 4 kB / 333.9 MB, free: 14.23 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.353e-05/0.1219, allocations: 7.938 kB / 333.9 MB, free: 14.22 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.1219, allocations: 4 kB / 333.9 MB, free: 14.21 MB / 286.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 (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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001134/0.122, allocations: 125.7 kB / 334 MB, free: 14.08 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.485e-05/0.1221, allocations: 7.906 kB / 334 MB, free: 14.07 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.873e-05/0.1221, allocations: 15.48 kB / 334 MB, free: 14.06 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1222, allocations: 0 / 334 MB, free: 14.06 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1222, allocations: 0 / 334 MB, free: 14.06 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1222, allocations: 11.94 kB / 334 MB, free: 14.05 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003769/0.1226, allocations: 181.6 kB / 334.2 MB, free: 13.82 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.1226, allocations: 0 / 334.2 MB, free: 13.82 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.506e-05/0.1226, allocations: 11.98 kB / 334.2 MB, free: 13.81 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/0.1227, allocations: 4 kB / 334.2 MB, free: 13.8 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.1227, allocations: 3.938 kB / 334.2 MB, free: 13.8 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.1227, allocations: 4 kB / 334.2 MB, free: 13.8 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1227, allocations: 3.938 kB / 334.2 MB, free: 13.79 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003492/0.123, allocations: 496.7 kB / 334.7 MB, free: 13.29 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.085e-05/0.1231, allocations: 93 kB / 334.8 MB, free: 13.18 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.1231, allocations: 3.938 kB / 334.8 MB, free: 13.18 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.1234, allocations: 12 kB / 334.8 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.1234, allocations: 11.92 kB / 334.8 MB, free: 13.15 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.1234, allocations: 7.938 kB / 334.8 MB, free: 13.14 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.73e-05/0.1235, allocations: 91.27 kB / 334.9 MB, free: 13.05 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1235, allocations: 0 / 334.9 MB, free: 13.05 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003904/0.1239, allocations: 12 kB / 334.9 MB, free: 13.04 MB / 286.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 (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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.573e-05/0.124, allocations: 99.17 kB / 335 MB, free: 12.94 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002204/0.1242, allocations: 67.89 kB / 335.1 MB, free: 12.87 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1242, allocations: 0 / 335.1 MB, free: 12.87 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 9.284e-05/0.1243, allocations: 31.92 kB / 335.1 MB, free: 12.84 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005029/0.1248, allocations: 8 kB / 335.1 MB, free: 12.83 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004202/0.1253, allocations: 203.2 kB / 335.3 MB, free: 12.59 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.1256, allocations: 0.6924 MB / 336 MB, free: 11.88 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.45e-05/0.1256, allocations: 0 / 336 MB, free: 11.88 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/0.1257, allocations: 15.44 kB / 336 MB, free: 11.86 MB / 286.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1257, allocations: 0 / 336 MB, free: 11.86 MB / 286.1 MB Notification: Performance of Templates: time 0.002623/0.1283, allocations: 0.5516 MB / 336.6 MB, free: 11.31 MB / 286.1 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches