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.0008524/0.0008526, allocations: 91.34 kB / 16.65 MB, free: 6.586 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.0008873/0.0008873, allocations: 183 kB / 17.56 MB, free: 6.203 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.384/1.384, allocations: 223.3 MB / 241.6 MB, free: 212 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002359/0.000236, allocations: 7.938 kB / 301.4 MB, free: 6.133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1034, allocations: 50.41 MB / 351.8 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.001991/0.1055, allocations: 1.309 MB / 353.1 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006652/0.1062, allocations: 411 kB / 353.5 MB, free: 1.984 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.871e-05/0.1062, allocations: 8 kB / 353.5 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.521e-05/0.1063, allocations: 0 / 353.5 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.765e-05/0.1064, allocations: 15.84 kB / 353.6 MB, free: 1.961 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001628/0.1066, allocations: 15.98 kB / 353.6 MB, free: 1.945 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.654e-05/0.1067, allocations: 55.8 kB / 353.6 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002034/0.1069, allocations: 47.89 kB / 353.7 MB, free: 1.844 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.107, allocations: 27.84 kB / 353.7 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.694e-05/0.1071, allocations: 23.8 kB / 353.7 MB, free: 1.793 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.1071, allocations: 8 kB / 353.7 MB, free: 1.785 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.041e-05/0.1071, allocations: 0 / 353.7 MB, free: 1.785 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.296e-05/0.1072, allocations: 11.92 kB / 353.7 MB, free: 1.773 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.899e-05/0.1072, allocations: 45.52 kB / 353.8 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.1073, allocations: 59.77 kB / 353.8 MB, free: 1.664 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1073, allocations: 0 / 353.8 MB, free: 1.664 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1073, allocations: 0 / 353.8 MB, free: 1.664 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1074, allocations: 0 / 353.8 MB, free: 1.664 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.000526/0.1079, allocations: 375.5 kB / 354.2 MB, free: 1.25 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.1079, allocations: 8.031 kB / 354.2 MB, free: 1.242 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.108, allocations: 8.844 kB / 354.2 MB, free: 1.234 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.1081, allocations: 184.1 kB / 354.4 MB, free: 1.016 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.361e-05/0.1082, allocations: 8.375 kB / 354.4 MB, free: 1.008 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.1082, allocations: 8.125 kB / 354.4 MB, free: 1 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/0.1085, allocations: 114 kB / 354.5 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1085, allocations: 3.938 kB / 354.5 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.1085, allocations: 4 kB / 354.5 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.1085, allocations: 4 kB / 354.5 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001932/0.1087, allocations: 67.89 kB / 354.6 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006923/0.1094, allocations: 0.642 MB / 355.3 MB, free: 84 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.1096, allocations: 133 kB / 355.4 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.1098, allocations: 52.3 kB / 355.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.1098, allocations: 4 kB / 355.4 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.1098, allocations: 42.55 kB / 355.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.1098, allocations: 0 / 355.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004768/0.1103, allocations: 137.5 kB / 355.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.542e-05/0.1104, allocations: 162.2 kB / 355.8 MB, free: 15.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.1105, allocations: 118.2 kB / 355.9 MB, free: 15.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.1106, allocations: 25.7 kB / 355.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.742e-05/0.1106, allocations: 108 kB / 356 MB, free: 15.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.1107, allocations: 15.81 kB / 356 MB, free: 15.17 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.1107, allocations: 17.7 kB / 356 MB, free: 15.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1109, allocations: 314.8 kB / 356.4 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.57e-05/0.111, allocations: 23.98 kB / 356.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.1111, allocations: 60.27 kB / 356.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002032/0.1113, allocations: 96.14 kB / 356.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1113, allocations: 0 / 356.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002612/0.1116, allocations: 105.5 kB / 356.6 MB, free: 14.51 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.1116, allocations: 4 kB / 356.6 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.1116, allocations: 4 kB / 356.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.1117, allocations: 128 / 356.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.1118, allocations: 31.8 kB / 356.7 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.1118, allocations: 160 / 356.7 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.703e-05/0.1119, allocations: 16 kB / 356.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.1119, allocations: 7.984 kB / 356.7 MB, free: 14.45 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 9.892e-05/0.112, allocations: 117.8 kB / 356.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.1121, allocations: 7.906 kB / 356.8 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.611e-05/0.1122, allocations: 11.53 kB / 356.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.1122, allocations: 3.938 kB / 356.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.1122, allocations: 4 kB / 356.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1122, allocations: 4 kB / 356.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003774/0.1126, allocations: 181.6 kB / 357 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1126, allocations: 0 / 357 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.695e-05/0.1127, allocations: 19.92 kB / 357 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1127, allocations: 0 / 357 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.1127, allocations: 4 kB / 357 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.1127, allocations: 3.938 kB / 357 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1127, allocations: 0 / 357 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003604/0.1131, allocations: 0.5005 MB / 357.5 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.159e-05/0.1131, allocations: 81.11 kB / 357.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.1131, allocations: 0 / 357.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.1134, allocations: 19.88 kB / 357.6 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.1134, allocations: 7.984 kB / 357.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.251e-06/0.1134, allocations: 4 kB / 357.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.008e-05/0.1135, allocations: 91.27 kB / 357.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1135, allocations: 0 / 357.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005751/0.1141, allocations: 19.91 kB / 357.8 MB, free: 13.28 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.0001068/0.1142, allocations: 99.19 kB / 357.9 MB, free: 13.17 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002515/0.1145, allocations: 72.14 kB / 357.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1145, allocations: 0 / 357.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.1146, allocations: 35.92 kB / 358 MB, free: 13.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000524/0.1151, allocations: 8 kB / 358 MB, free: 13.06 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004536/0.1156, allocations: 234.2 kB / 358.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.1159, allocations: 0.6887 MB / 358.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.513e-05/0.1159, allocations: 11.98 kB / 358.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.116, allocations: 11.38 kB / 358.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.116, allocations: 4 kB / 358.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of Templates: time 0.002604/0.1186, allocations: 452.4 kB / 359.4 MB, free: 11.61 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins/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