Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001175/0.001175, allocations: 105 kB / 17.59 MB, free: 5.418 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.0012/0.0012, allocations: 191.3 kB / 18.51 MB, free: 4.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 43.09 kB / 301.3 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09843/0.1, allocations: 49.44 MB / 350.7 MB, free: 4.434 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003289/0.1034, allocations: 1.575 MB / 352.3 MB, free: 2.832 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008206/0.1042, allocations: 432.3 kB / 352.7 MB, free: 2.41 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.8e-05/0.1043, allocations: 0 / 352.7 MB, free: 2.41 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.275e-05/0.1044, allocations: 15.8 kB / 352.7 MB, free: 2.395 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.526e-05/0.1045, allocations: 15.88 kB / 352.7 MB, free: 2.379 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001647/0.1047, allocations: 19.97 kB / 352.8 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.1048, allocations: 55.8 kB / 352.8 MB, free: 2.305 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002091/0.105, allocations: 51.89 kB / 352.9 MB, free: 2.254 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.1051, allocations: 27.86 kB / 352.9 MB, free: 2.227 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.731e-05/0.1052, allocations: 31.84 kB / 352.9 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.1053, allocations: 4 kB / 352.9 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.682e-05/0.1053, allocations: 8 kB / 352.9 MB, free: 2.184 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.62e-05/0.1053, allocations: 19.92 kB / 353 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.824e-05/0.1054, allocations: 27.81 kB / 353 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.1055, allocations: 67.77 kB / 353.1 MB, free: 2.07 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1055, allocations: 0 / 353.1 MB, free: 2.07 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1055, allocations: 0 / 353.1 MB, free: 2.07 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1055, allocations: 0 / 353.1 MB, free: 2.07 MB / 286.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.0005877/0.1061, allocations: 379.4 kB / 353.4 MB, free: 1.652 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.1062, allocations: 15.83 kB / 353.4 MB, free: 1.637 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.529e-05/0.1062, allocations: 8.844 kB / 353.4 MB, free: 1.629 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.1064, allocations: 176.3 kB / 353.6 MB, free: 1.418 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.083e-05/0.1064, allocations: 4.375 kB / 353.6 MB, free: 1.414 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.1064, allocations: 8.125 kB / 353.6 MB, free: 1.406 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.1067, allocations: 115 kB / 353.7 MB, free: 1.273 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1067, allocations: 0 / 353.7 MB, free: 1.273 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.1067, allocations: 8 kB / 353.8 MB, free: 1.266 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.1068, allocations: 7.984 kB / 353.8 MB, free: 1.258 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000181/0.107, allocations: 51.91 kB / 353.8 MB, free: 1.207 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006878/0.1076, allocations: 0.6458 MB / 354.5 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.1078, allocations: 121 kB / 354.6 MB, free: 340 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.108, allocations: 60.25 kB / 354.6 MB, free: 264 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.108, allocations: 0 / 354.6 MB, free: 264 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.108, allocations: 46.5 kB / 354.7 MB, free: 208 kB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.108, allocations: 0 / 354.7 MB, free: 208 kB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004577/0.1085, allocations: 114.1 kB / 354.8 MB, free: 88 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.1086, allocations: 162.2 kB / 354.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.1087, allocations: 125.7 kB / 355.1 MB, free: 15.76 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.1088, allocations: 29.7 kB / 355.1 MB, free: 15.72 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.68e-05/0.1088, allocations: 95.98 kB / 355.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.1089, allocations: 15.8 kB / 355.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/0.1089, allocations: 21.72 kB / 355.2 MB, free: 15.58 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.109, allocations: 314.8 kB / 355.5 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.747e-05/0.1091, allocations: 23.98 kB / 355.6 MB, free: 15.24 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.1092, allocations: 56.22 kB / 355.6 MB, free: 15.17 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.1094, allocations: 80.14 kB / 355.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1094, allocations: 0 / 355.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002307/0.1097, allocations: 97.53 kB / 355.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.1097, allocations: 12.14 kB / 355.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1097, allocations: 4 kB / 355.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.1097, allocations: 0 / 355.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.1098, allocations: 16.06 kB / 355.8 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.1099, allocations: 7.984 kB / 355.8 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.388e-05/0.1099, allocations: 7.984 kB / 355.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.1099, allocations: 4 kB / 355.8 MB, free: 14.93 MB / 302.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 8.284e-05/0.11, allocations: 117.8 kB / 356 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.263e-05/0.1101, allocations: 7.906 kB / 356 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.034e-05/0.1102, allocations: 23.52 kB / 356 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.1102, allocations: 3.938 kB / 356 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1102, allocations: 4 kB / 356 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1102, allocations: 0 / 356 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004214/0.1106, allocations: 181.6 kB / 356.2 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.1106, allocations: 7.875 kB / 356.2 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.787e-05/0.1107, allocations: 15.98 kB / 356.2 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/0.1107, allocations: 4 kB / 356.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.1108, allocations: 0 / 356.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.1108, allocations: 7.938 kB / 356.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1108, allocations: 4 kB / 356.2 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003643/0.1111, allocations: 488.6 kB / 356.7 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-05/0.1112, allocations: 89.02 kB / 356.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.1112, allocations: 4 kB / 356.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/0.1114, allocations: 11.92 kB / 356.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.1115, allocations: 11.98 kB / 356.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.1115, allocations: 0 / 356.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.009e-05/0.1116, allocations: 95.27 kB / 356.9 MB, free: 13.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1116, allocations: 0 / 356.9 MB, free: 13.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003806/0.112, allocations: 8 kB / 356.9 MB, free: 13.76 MB / 302.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 0.0001082/0.1121, allocations: 103.2 kB / 357 MB, free: 13.65 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002263/0.1123, allocations: 59.84 kB / 357.1 MB, free: 13.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1123, allocations: 0 / 357.1 MB, free: 13.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.825e-05/0.1124, allocations: 36.41 kB / 357.1 MB, free: 13.56 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00052/0.113, allocations: 16.06 kB / 357.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004834/0.1134, allocations: 236.1 kB / 357.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.1138, allocations: 0.6885 MB / 358 MB, free: 12.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.907e-05/0.1138, allocations: 11.44 kB / 358 MB, free: 12.54 MB / 302.1 MB Notification: Performance of SimCode: time 8.32e-07/0.1138, allocations: 0 / 358 MB, free: 12.54 MB / 302.1 MB Notification: Performance of Templates: time 0.002525/0.1163, allocations: 0.8686 MB / 358.9 MB, free: 11.68 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches