Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0016/0.0016, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001865/0.001865, allocations: 199.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 59.5 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09928/0.1005, allocations: 50.53 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003513/0.1041, allocations: 1.607 MB / 360.5 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008542/0.1049, allocations: 498.7 kB / 361 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.752e-05/0.105, allocations: 3.938 kB / 361 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.423e-05/0.1051, allocations: 3.938 kB / 361 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.041e-05/0.1052, allocations: 15.81 kB / 361 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.1054, allocations: 27.95 kB / 361 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.1056, allocations: 63.78 kB / 361.1 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001972/0.1058, allocations: 52.12 kB / 361.2 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.1059, allocations: 31.84 kB / 361.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.827e-05/0.106, allocations: 31.86 kB / 361.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.106, allocations: 7.938 kB / 361.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.59e-05/0.1061, allocations: 15.98 kB / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.738e-05/0.1061, allocations: 11.94 kB / 361.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.167e-05/0.1062, allocations: 31.8 kB / 361.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.1063, allocations: 67.78 kB / 361.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1063, allocations: 0 / 361.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1063, allocations: 0 / 361.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1063, allocations: 4 kB / 361.4 MB, free: 10.88 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.0005272/0.1069, allocations: 383.1 kB / 361.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.1069, allocations: 12.02 kB / 361.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.1071, allocations: 12.84 kB / 361.8 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.1073, allocations: 192.1 kB / 361.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.1073, allocations: 12.31 kB / 362 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.1074, allocations: 4.375 kB / 362 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.1076, allocations: 122.2 kB / 362.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1076, allocations: 0 / 362.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1076, allocations: 4 kB / 362.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1076, allocations: 4 kB / 362.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.1078, allocations: 55.89 kB / 362.1 MB, free: 9.992 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006649/0.1085, allocations: 0.6419 MB / 362.8 MB, free: 9.285 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.1087, allocations: 113 kB / 362.9 MB, free: 9.129 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.1088, allocations: 64.34 kB / 363 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.1088, allocations: 4 kB / 363 MB, free: 9.047 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.1089, allocations: 30.56 kB / 363 MB, free: 9.008 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1089, allocations: 0 / 363 MB, free: 9.008 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004693/0.1093, allocations: 129.6 kB / 363.1 MB, free: 8.875 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.047e-05/0.1094, allocations: 162.2 kB / 363.3 MB, free: 8.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.1096, allocations: 125.7 kB / 363.4 MB, free: 8.547 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.1096, allocations: 29.7 kB / 363.4 MB, free: 8.512 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.512e-05/0.1097, allocations: 99.97 kB / 363.5 MB, free: 8.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.1097, allocations: 12.25 kB / 363.5 MB, free: 8.398 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-05/0.1097, allocations: 29.7 kB / 363.6 MB, free: 8.363 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.1098, allocations: 310.8 kB / 363.9 MB, free: 8.051 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.325e-05/0.1099, allocations: 19.98 kB / 363.9 MB, free: 8.031 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.281e-05/0.11, allocations: 56.39 kB / 363.9 MB, free: 7.961 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.1102, allocations: 80.2 kB / 364 MB, free: 7.867 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1102, allocations: 0 / 364 MB, free: 7.867 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002033/0.1104, allocations: 105.4 kB / 364.1 MB, free: 7.758 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.1104, allocations: 8 kB / 364.1 MB, free: 7.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1104, allocations: 0 / 364.1 MB, free: 7.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1105, allocations: 0 / 364.1 MB, free: 7.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.555e-05/0.1106, allocations: 15.98 kB / 364.1 MB, free: 7.734 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.1106, allocations: 11.86 kB / 364.2 MB, free: 7.723 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.211e-05/0.1106, allocations: 11.92 kB / 364.2 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.1107, allocations: 8.156 kB / 364.2 MB, free: 7.703 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 7.895e-05/0.1107, allocations: 121.7 kB / 364.3 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.101e-05/0.1108, allocations: 11.91 kB / 364.3 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.051e-05/0.1109, allocations: 15.48 kB / 364.3 MB, free: 7.547 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1109, allocations: 0 / 364.3 MB, free: 7.547 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.1109, allocations: 7.984 kB / 364.3 MB, free: 7.539 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1109, allocations: 3.938 kB / 364.3 MB, free: 7.535 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000368/0.1113, allocations: 185.6 kB / 364.5 MB, free: 7.305 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1113, allocations: 0 / 364.5 MB, free: 7.305 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.591e-05/0.1114, allocations: 19.94 kB / 364.5 MB, free: 7.285 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1114, allocations: 3.984 kB / 364.5 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.1114, allocations: 0 / 364.5 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.523e-06/0.1114, allocations: 4 kB / 364.5 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1114, allocations: 3.938 kB / 364.5 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003437/0.1118, allocations: 496.5 kB / 365 MB, free: 6.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.183e-05/0.1118, allocations: 77.11 kB / 365.1 MB, free: 6.676 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.1118, allocations: 4 kB / 365.1 MB, free: 6.672 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.112, allocations: 7.984 kB / 365.1 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.692e-05/0.1121, allocations: 15.88 kB / 365.1 MB, free: 6.648 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.1121, allocations: 8 kB / 365.1 MB, free: 6.641 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.515e-05/0.1122, allocations: 91.27 kB / 365.2 MB, free: 6.551 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1122, allocations: 0 / 365.2 MB, free: 6.551 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003793/0.1126, allocations: 11.91 kB / 365.2 MB, free: 6.539 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.0001059/0.1127, allocations: 107.2 kB / 365.3 MB, free: 6.426 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002113/0.1129, allocations: 60.22 kB / 365.4 MB, free: 6.367 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1129, allocations: 0 / 365.4 MB, free: 6.367 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.396e-05/0.113, allocations: 35.91 kB / 365.4 MB, free: 6.332 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005154/0.1135, allocations: 8 kB / 365.4 MB, free: 6.324 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004067/0.1139, allocations: 195 kB / 365.6 MB, free: 6.098 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.1142, allocations: 0.6924 MB / 366.3 MB, free: 5.379 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.569e-05/0.1143, allocations: 3.984 kB / 366.3 MB, free: 5.375 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.1143, allocations: 15.38 kB / 366.3 MB, free: 5.359 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1143, allocations: 0 / 366.3 MB, free: 5.359 MB / 302.1 MB Notification: Performance of Templates: time 0.002542/0.1169, allocations: 0.5515 MB / 366.9 MB, free: 4.809 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.BusUsage.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_trunk_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.BusUsage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches