Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001337/0.001337, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001386/0.001386, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.465/1.465, allocations: 227.7 MB / 247.7 MB, free: 10.32 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 62.41 kB / 307.9 MB, free: 0.4961 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1072, allocations: 50.54 MB / 358.4 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003147/0.1104, allocations: 1.593 MB / 360 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009162/0.1113, allocations: 0.4947 MB / 360.5 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.811e-05/0.1114, allocations: 0 / 360.5 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.709e-05/0.1115, allocations: 15.88 kB / 360.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.555e-05/0.1115, allocations: 11.86 kB / 360.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.1118, allocations: 35.89 kB / 360.6 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.1119, allocations: 59.8 kB / 360.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001857/0.1121, allocations: 56.11 kB / 360.7 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.1122, allocations: 35.84 kB / 360.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.593e-05/0.1123, allocations: 27.86 kB / 360.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.1123, allocations: 4 kB / 360.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.542e-05/0.1124, allocations: 11.94 kB / 360.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.839e-05/0.1124, allocations: 11.98 kB / 360.8 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.15e-05/0.1125, allocations: 31.8 kB / 360.8 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.1126, allocations: 72 kB / 360.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1126, allocations: 0 / 360.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1126, allocations: 0 / 360.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1126, allocations: 4 kB / 360.9 MB, free: 11.46 MB / 302.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.0005994/0.1132, allocations: 389.9 kB / 361.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.1133, allocations: 8.031 kB / 361.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.1135, allocations: 20.83 kB / 361.3 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.1137, allocations: 180.2 kB / 361.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.1137, allocations: 8.312 kB / 361.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.1137, allocations: 8.375 kB / 361.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/0.114, allocations: 117.8 kB / 361.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.114, allocations: 0 / 361.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.1141, allocations: 8 kB / 361.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1141, allocations: 0 / 361.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001976/0.1143, allocations: 63.83 kB / 361.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007579/0.115, allocations: 0.642 MB / 362.3 MB, free: 9.863 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.1153, allocations: 113 kB / 362.4 MB, free: 9.707 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.1154, allocations: 60.28 kB / 362.5 MB, free: 9.633 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.1154, allocations: 0 / 362.5 MB, free: 9.633 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.1155, allocations: 38.56 kB / 362.5 MB, free: 9.586 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.1155, allocations: 0 / 362.5 MB, free: 9.586 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004875/0.116, allocations: 121.4 kB / 362.6 MB, free: 9.461 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.1161, allocations: 162.1 kB / 362.8 MB, free: 9.266 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.1162, allocations: 130.3 kB / 362.9 MB, free: 9.129 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.1162, allocations: 25.7 kB / 362.9 MB, free: 9.098 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.431e-05/0.1163, allocations: 107.9 kB / 363 MB, free: 8.988 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.1164, allocations: 15.81 kB / 363.1 MB, free: 8.973 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.1164, allocations: 17.72 kB / 363.1 MB, free: 8.949 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.1166, allocations: 322.8 kB / 363.4 MB, free: 8.625 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.769e-05/0.1167, allocations: 23.98 kB / 363.4 MB, free: 8.602 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.1168, allocations: 52.27 kB / 363.5 MB, free: 8.535 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/0.117, allocations: 80.2 kB / 363.5 MB, free: 8.441 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.117, allocations: 4 kB / 363.6 MB, free: 8.438 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002698/0.1173, allocations: 101.4 kB / 363.7 MB, free: 8.332 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1173, allocations: 6.344 kB / 363.7 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1173, allocations: 0 / 363.7 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.1173, allocations: 4 kB / 363.7 MB, free: 8.324 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.1175, allocations: 11.98 kB / 363.7 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.1175, allocations: 12.09 kB / 363.7 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.677e-05/0.1175, allocations: 7.938 kB / 363.7 MB, free: 8.293 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.1176, allocations: 3.984 kB / 363.7 MB, free: 8.289 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 0.0001168/0.1177, allocations: 125.8 kB / 363.8 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.234e-05/0.1178, allocations: 7.906 kB / 363.8 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.336e-05/0.1178, allocations: 15.47 kB / 363.8 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1178, allocations: 4 kB / 363.8 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1178, allocations: 0 / 363.8 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.443e-06/0.1179, allocations: 7.938 kB / 363.9 MB, free: 8.121 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004152/0.1183, allocations: 185.6 kB / 364 MB, free: 7.891 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.1183, allocations: 7.984 kB / 364 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.758e-05/0.1184, allocations: 8 kB / 364.1 MB, free: 7.875 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.1184, allocations: 0 / 364.1 MB, free: 7.875 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.1184, allocations: 4 kB / 364.1 MB, free: 7.871 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.1184, allocations: 7.922 kB / 364.1 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.1184, allocations: 4 kB / 364.1 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004411/0.1189, allocations: 492.5 kB / 364.5 MB, free: 7.359 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.683e-05/0.1189, allocations: 81.11 kB / 364.6 MB, free: 7.262 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.119, allocations: 192 / 364.6 MB, free: 7.262 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.1192, allocations: 15.98 kB / 364.6 MB, free: 7.246 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.1192, allocations: 15.88 kB / 364.7 MB, free: 7.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.1193, allocations: 4 kB / 364.7 MB, free: 7.227 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.945e-05/0.1193, allocations: 95.2 kB / 364.8 MB, free: 7.133 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1193, allocations: 4 kB / 364.8 MB, free: 7.129 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00038/0.1197, allocations: 15.91 kB / 364.8 MB, free: 7.113 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.0001089/0.1198, allocations: 95.19 kB / 364.9 MB, free: 7.012 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002508/0.1201, allocations: 67.89 kB / 364.9 MB, free: 6.945 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1201, allocations: 0 / 364.9 MB, free: 6.945 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.1202, allocations: 31.92 kB / 365 MB, free: 6.914 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005087/0.1207, allocations: 7.984 kB / 365 MB, free: 6.906 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004927/0.1212, allocations: 228.9 kB / 365.2 MB, free: 6.641 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.1216, allocations: 0.6963 MB / 365.9 MB, free: 5.918 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.067e-05/0.1217, allocations: 11.44 kB / 365.9 MB, free: 5.906 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1217, allocations: 0 / 365.9 MB, free: 5.906 MB / 302.1 MB Notification: Performance of Templates: time 0.00276/0.1245, allocations: 0.8833 MB / 366.8 MB, free: 5.02 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches