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.001576/0.001576, allocations: 103.4 kB / 17.98 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001868/0.001868, allocations: 213.8 kB / 18.92 MB, free: 4.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.4 MB / 247.1 MB, free: 10.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 67.59 kB / 307.1 MB, free: 0.9297 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09764/0.09953, allocations: 50.53 MB / 357.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003124/0.1027, allocations: 1.669 MB / 359.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008549/0.1036, allocations: 498.7 kB / 359.8 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.979e-05/0.1037, allocations: 0 / 359.8 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.328e-05/0.1037, allocations: 3.938 kB / 359.8 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.633e-05/0.1038, allocations: 7.938 kB / 359.8 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.104, allocations: 23.97 kB / 359.8 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.1042, allocations: 63.73 kB / 359.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.1044, allocations: 56.16 kB / 360 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.1045, allocations: 27.92 kB / 360 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.933e-05/0.1046, allocations: 43.72 kB / 360 MB, free: 12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.1046, allocations: 4 kB / 360 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.205e-05/0.1047, allocations: 11.98 kB / 360.1 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.1047, allocations: 8 kB / 360.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.987e-05/0.1047, allocations: 31.8 kB / 360.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.1049, allocations: 52.19 kB / 360.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.1049, allocations: 7.938 kB / 360.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1049, allocations: 0 / 360.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1049, allocations: 0 / 360.1 MB, free: 11.89 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.0005173/0.1054, allocations: 383.1 kB / 360.5 MB, free: 11.47 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.1055, allocations: 8.031 kB / 360.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.1056, allocations: 20.83 kB / 360.6 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.1058, allocations: 184.2 kB / 360.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.1058, allocations: 8.375 kB / 360.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.1058, allocations: 4.375 kB / 360.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.1061, allocations: 126.2 kB / 360.9 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.078e-06/0.1061, allocations: 0 / 360.9 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.1061, allocations: 0 / 360.9 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.1061, allocations: 4 kB / 360.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/0.1063, allocations: 59.89 kB / 360.9 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006743/0.107, allocations: 0.6419 MB / 361.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.1072, allocations: 109.1 kB / 361.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.1073, allocations: 60.33 kB / 361.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.1074, allocations: 3.938 kB / 361.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.1074, allocations: 38.56 kB / 361.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.1074, allocations: 0 / 361.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004401/0.1079, allocations: 125.4 kB / 361.9 MB, free: 9.891 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.787e-05/0.108, allocations: 158.2 kB / 362.1 MB, free: 9.699 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.1081, allocations: 125.8 kB / 362.2 MB, free: 9.566 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.1081, allocations: 25.7 kB / 362.2 MB, free: 9.535 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.448e-05/0.1082, allocations: 104.6 kB / 362.3 MB, free: 9.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.1082, allocations: 19.8 kB / 362.3 MB, free: 9.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.562e-05/0.1083, allocations: 21.72 kB / 362.3 MB, free: 9.383 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1084, allocations: 322.8 kB / 362.7 MB, free: 9.059 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.356e-05/0.1085, allocations: 19.98 kB / 362.7 MB, free: 9.039 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.158e-05/0.1086, allocations: 44.28 kB / 362.7 MB, free: 8.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.1088, allocations: 84.2 kB / 362.8 MB, free: 8.883 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1088, allocations: 0 / 362.8 MB, free: 8.883 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002295/0.109, allocations: 105.4 kB / 362.9 MB, free: 8.773 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1091, allocations: 7.984 kB / 362.9 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1091, allocations: 0 / 362.9 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1091, allocations: 4 kB / 362.9 MB, free: 8.762 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.464e-05/0.1092, allocations: 8 kB / 362.9 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1092, allocations: 0 / 362.9 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.459e-05/0.1093, allocations: 24.06 kB / 363 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.1093, allocations: 0 / 363 MB, free: 8.73 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.0001023/0.1094, allocations: 125.7 kB / 363.1 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.751e-05/0.1095, allocations: 7.906 kB / 363.1 MB, free: 8.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.056e-05/0.1095, allocations: 15.47 kB / 363.1 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.1095, allocations: 4 kB / 363.1 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1095, allocations: 0 / 363.1 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1096, allocations: 7.875 kB / 363.1 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003932/0.11, allocations: 181.6 kB / 363.3 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.11, allocations: 8 kB / 363.3 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.102e-05/0.1101, allocations: 15.98 kB / 363.3 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1101, allocations: 0 / 363.3 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.1101, allocations: 4 kB / 363.3 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1101, allocations: 0 / 363.3 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.1101, allocations: 4 kB / 363.3 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003927/0.1105, allocations: 496.6 kB / 363.8 MB, free: 7.801 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.876e-05/0.1105, allocations: 81.11 kB / 363.9 MB, free: 7.703 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.1106, allocations: 7.984 kB / 363.9 MB, free: 7.695 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.1108, allocations: 4 kB / 363.9 MB, free: 7.691 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-05/0.1108, allocations: 19.92 kB / 363.9 MB, free: 7.672 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.1109, allocations: 4 kB / 363.9 MB, free: 7.668 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.299e-05/0.1109, allocations: 95.64 kB / 364 MB, free: 7.574 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1109, allocations: 3.938 kB / 364 MB, free: 7.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003819/0.1113, allocations: 15.91 kB / 364 MB, free: 7.555 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.0001092/0.1114, allocations: 99.19 kB / 364.1 MB, free: 7.449 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002306/0.1117, allocations: 64.02 kB / 364.2 MB, free: 7.387 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1117, allocations: 0 / 364.2 MB, free: 7.387 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.1118, allocations: 31.92 kB / 364.2 MB, free: 7.355 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005246/0.1123, allocations: 8 kB / 364.2 MB, free: 7.348 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004672/0.1128, allocations: 240.8 kB / 364.5 MB, free: 7.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.1132, allocations: 0.6885 MB / 365.2 MB, free: 6.355 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.011e-05/0.1132, allocations: 15.42 kB / 365.2 MB, free: 6.34 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1132, allocations: 4 kB / 365.2 MB, free: 6.336 MB / 302.1 MB Notification: Performance of Templates: time 0.002518/0.1157, allocations: 0.9005 MB / 366.1 MB, free: 5.438 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 -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.1.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