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.001426/0.001425, allocations: 112.8 kB / 17.29 MB, free: 6.219 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.001459/0.001459, allocations: 197.3 kB / 18.21 MB, free: 5.289 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.329/1.329, allocations: 222.9 MB / 241.9 MB, free: 13.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001035/0.001035, allocations: 38.97 kB / 300.8 MB, free: 5.988 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1082, allocations: 49.44 MB / 350.2 MB, free: 4.535 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003077/0.1113, allocations: 1.645 MB / 351.9 MB, free: 2.867 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007209/0.1121, allocations: 422.9 kB / 352.3 MB, free: 2.453 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.836e-05/0.1122, allocations: 0 / 352.3 MB, free: 2.453 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.386e-05/0.1123, allocations: 3.938 kB / 352.3 MB, free: 2.449 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.52e-05/0.1124, allocations: 15.86 kB / 352.3 MB, free: 2.434 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001522/0.1126, allocations: 19.98 kB / 352.3 MB, free: 2.414 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.1127, allocations: 59.84 kB / 352.4 MB, free: 2.355 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.1129, allocations: 51.8 kB / 352.4 MB, free: 2.305 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.113, allocations: 23.86 kB / 352.5 MB, free: 2.281 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.46e-05/0.1131, allocations: 31.84 kB / 352.5 MB, free: 2.25 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.1131, allocations: 4 kB / 352.5 MB, free: 2.246 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.576e-05/0.1131, allocations: 8 kB / 352.5 MB, free: 2.238 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.177e-05/0.1132, allocations: 11.94 kB / 352.5 MB, free: 2.227 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.712e-05/0.1132, allocations: 35.8 kB / 352.5 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.1133, allocations: 51.91 kB / 352.6 MB, free: 2.141 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.1134, allocations: 0 / 352.6 MB, free: 2.141 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1134, allocations: 3.938 kB / 352.6 MB, free: 2.137 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.1134, allocations: 0 / 352.6 MB, free: 2.137 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.0005187/0.1139, allocations: 383.4 kB / 353 MB, free: 1.715 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.114, allocations: 8.031 kB / 353 MB, free: 1.707 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.003e-05/0.114, allocations: 8.844 kB / 353 MB, free: 1.699 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.1141, allocations: 172.3 kB / 353.2 MB, free: 1.492 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.1142, allocations: 8.375 kB / 353.2 MB, free: 1.484 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.1142, allocations: 12.12 kB / 353.2 MB, free: 1.473 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.1144, allocations: 117 kB / 353.3 MB, free: 1.34 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.1145, allocations: 4 kB / 353.3 MB, free: 1.336 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.1145, allocations: 3.984 kB / 353.3 MB, free: 1.332 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1145, allocations: 4 kB / 353.3 MB, free: 1.328 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.1147, allocations: 55.89 kB / 353.4 MB, free: 1.273 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007245/0.1154, allocations: 0.6458 MB / 354 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.1156, allocations: 120.9 kB / 354.1 MB, free: 408 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.1157, allocations: 48.41 kB / 354.2 MB, free: 344 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.1158, allocations: 7.938 kB / 354.2 MB, free: 336 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.177e-05/0.1158, allocations: 42.5 kB / 354.2 MB, free: 284 kB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.1158, allocations: 0 / 354.2 MB, free: 284 kB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004534/0.1163, allocations: 113.5 kB / 354.3 MB, free: 164 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.1164, allocations: 174.8 kB / 354.5 MB, free: 15.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.1165, allocations: 117.8 kB / 354.6 MB, free: 15.83 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.1165, allocations: 25.7 kB / 354.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.4e-05/0.1166, allocations: 99.97 kB / 354.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.1166, allocations: 15.81 kB / 354.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.1167, allocations: 17.72 kB / 354.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1168, allocations: 326.8 kB / 355.1 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.689e-05/0.1169, allocations: 15.98 kB / 355.1 MB, free: 15.31 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.998e-05/0.117, allocations: 56.27 kB / 355.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.1171, allocations: 80.2 kB / 355.2 MB, free: 15.15 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1172, allocations: 0 / 355.2 MB, free: 15.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002363/0.1174, allocations: 97.53 kB / 355.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.1174, allocations: 4 kB / 355.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1174, allocations: 160 / 355.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1175, allocations: 11.94 kB / 355.4 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.1176, allocations: 15.92 kB / 355.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.1176, allocations: 0 / 355.4 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.518e-05/0.1177, allocations: 8 kB / 355.4 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.1177, allocations: 0 / 355.4 MB, free: 15.01 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.0001046/0.1178, allocations: 129.8 kB / 355.5 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.575e-05/0.1179, allocations: 7.906 kB / 355.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.279e-05/0.1179, allocations: 7.531 kB / 355.5 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.1179, allocations: 15.88 kB / 355.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1179, allocations: 0 / 355.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.1179, allocations: 0 / 355.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003772/0.1183, allocations: 181.6 kB / 355.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.1183, allocations: 4.125 kB / 355.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.794e-05/0.1184, allocations: 19.92 kB / 355.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.1184, allocations: 0 / 355.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.1184, allocations: 4 kB / 355.7 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.1184, allocations: 3.938 kB / 355.7 MB, free: 14.58 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.1185, allocations: 4 kB / 355.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003486/0.1188, allocations: 492.5 kB / 356.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.656e-05/0.1189, allocations: 89 kB / 356.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.1189, allocations: 4 kB / 356.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.1191, allocations: 7.938 kB / 356.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.973e-05/0.1192, allocations: 11.98 kB / 356.3 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.874e-06/0.1192, allocations: 4 kB / 356.3 MB, free: 13.94 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.741e-05/0.1192, allocations: 91.27 kB / 356.4 MB, free: 13.85 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1192, allocations: 0 / 356.4 MB, free: 13.85 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003761/0.1196, allocations: 8 kB / 356.4 MB, free: 13.84 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.0001046/0.1197, allocations: 111.1 kB / 356.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002322/0.12, allocations: 63.89 kB / 356.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.12, allocations: 0 / 356.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.385e-05/0.1201, allocations: 31.92 kB / 356.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004989/0.1206, allocations: 4.625 kB / 356.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004556/0.1211, allocations: 260.2 kB / 356.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.1214, allocations: 0.6924 MB / 357.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.635e-05/0.1214, allocations: 15.38 kB / 357.6 MB, free: 12.6 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1214, allocations: 0 / 357.6 MB, free: 12.6 MB / 302.1 MB Notification: Performance of Templates: time 0.002525/0.124, allocations: 0.8641 MB / 358.5 MB, free: 11.73 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