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.0008855/0.0008853, allocations: 94.34 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001068/0.001068, allocations: 201.9 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.306/1.306, allocations: 227.7 MB / 247.5 MB, free: 9.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000264/0.0002642, allocations: 11.98 kB / 308.4 MB, free: 0.5938 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09892/0.09921, allocations: 51.52 MB / 359.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.001859/0.1011, allocations: 1.322 MB / 361.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007553/0.1019, allocations: 490.8 kB / 361.7 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.402e-05/0.102, allocations: 0 / 361.7 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.355e-05/0.102, allocations: 7.922 kB / 361.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.908e-05/0.1021, allocations: 11.94 kB / 361.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.1022, allocations: 23.97 kB / 361.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.1023, allocations: 51.86 kB / 361.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.1025, allocations: 60.05 kB / 361.8 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.1027, allocations: 19.92 kB / 361.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.305e-05/0.1027, allocations: 23.86 kB / 361.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.1027, allocations: 0 / 361.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.843e-05/0.1028, allocations: 15.92 kB / 361.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/0.1028, allocations: 11.98 kB / 361.9 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.487e-05/0.1029, allocations: 49.45 kB / 362 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.225e-05/0.103, allocations: 48.19 kB / 362 MB, free: 10.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.103, allocations: 0 / 362 MB, free: 10.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.103, allocations: 0 / 362 MB, free: 10.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.103, allocations: 0 / 362 MB, free: 10.93 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.0004451/0.1034, allocations: 375.3 kB / 362.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.1035, allocations: 8.031 kB / 362.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001337/0.1036, allocations: 20.83 kB / 362.4 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.1038, allocations: 192.1 kB / 362.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.1038, allocations: 4.375 kB / 362.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.1038, allocations: 8.375 kB / 362.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.104, allocations: 130.2 kB / 362.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.1041, allocations: 3.984 kB / 362.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.1041, allocations: 0 / 362.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1041, allocations: 4 kB / 362.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.1043, allocations: 67.91 kB / 362.8 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005774/0.1049, allocations: 0.638 MB / 363.4 MB, free: 9.324 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.1051, allocations: 121.1 kB / 363.6 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.1052, allocations: 60.27 kB / 363.6 MB, free: 9.086 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.1052, allocations: 8 kB / 363.6 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.1053, allocations: 42.44 kB / 363.7 MB, free: 9.027 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.1053, allocations: 0 / 363.7 MB, free: 9.027 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004524/0.1057, allocations: 133.7 kB / 363.8 MB, free: 8.891 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.832e-05/0.1058, allocations: 158.2 kB / 364 MB, free: 8.699 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.314e-05/0.1059, allocations: 134 kB / 364.1 MB, free: 8.559 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.1059, allocations: 29.7 kB / 364.1 MB, free: 8.523 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.425e-05/0.106, allocations: 107.9 kB / 364.2 MB, free: 8.414 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.106, allocations: 11.8 kB / 364.2 MB, free: 8.402 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/0.106, allocations: 17.72 kB / 364.3 MB, free: 8.379 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.1062, allocations: 314.8 kB / 364.6 MB, free: 8.062 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.158e-05/0.1063, allocations: 27.98 kB / 364.6 MB, free: 8.035 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.435e-05/0.1064, allocations: 56.28 kB / 364.6 MB, free: 7.965 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.1065, allocations: 92.19 kB / 364.7 MB, free: 7.859 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1066, allocations: 0 / 364.7 MB, free: 7.859 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002308/0.1068, allocations: 109.5 kB / 364.8 MB, free: 7.746 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1068, allocations: 8 kB / 364.8 MB, free: 7.738 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1068, allocations: 0 / 364.8 MB, free: 7.738 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1068, allocations: 4 kB / 364.9 MB, free: 7.734 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.837e-05/0.1069, allocations: 11.94 kB / 364.9 MB, free: 7.723 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.107, allocations: 12.14 kB / 364.9 MB, free: 7.711 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.635e-05/0.107, allocations: 15.84 kB / 364.9 MB, free: 7.695 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.107, allocations: 0 / 364.9 MB, free: 7.695 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 8.838e-05/0.1071, allocations: 125.7 kB / 365 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.84e-05/0.1072, allocations: 11.98 kB / 365 MB, free: 7.551 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.6e-05/0.1073, allocations: 15.48 kB / 365 MB, free: 7.535 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.1073, allocations: 4 kB / 365 MB, free: 7.531 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1073, allocations: 0 / 365 MB, free: 7.531 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.1073, allocations: 7.938 kB / 365.1 MB, free: 7.523 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003827/0.1077, allocations: 181.6 kB / 365.2 MB, free: 7.297 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.1077, allocations: 8.109 kB / 365.2 MB, free: 7.289 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.748e-05/0.1078, allocations: 15.98 kB / 365.3 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1078, allocations: 4 kB / 365.3 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.1078, allocations: 0 / 365.3 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.1078, allocations: 4 kB / 365.3 MB, free: 7.266 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1078, allocations: 0 / 365.3 MB, free: 7.266 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000429/0.1082, allocations: 0.5004 MB / 365.8 MB, free: 6.746 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.731e-05/0.1083, allocations: 81.02 kB / 365.8 MB, free: 6.648 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.1083, allocations: 7.984 kB / 365.8 MB, free: 6.641 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.1085, allocations: 8 kB / 365.9 MB, free: 6.633 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.1086, allocations: 19.86 kB / 365.9 MB, free: 6.613 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.1086, allocations: 0 / 365.9 MB, free: 6.613 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.244e-05/0.1087, allocations: 95.27 kB / 366 MB, free: 6.52 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1087, allocations: 4 kB / 366 MB, free: 6.516 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003798/0.109, allocations: 8 kB / 366 MB, free: 6.508 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.0001056/0.1092, allocations: 103.1 kB / 366.1 MB, free: 6.398 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000225/0.1094, allocations: 72.14 kB / 366.2 MB, free: 6.328 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1094, allocations: 0 / 366.2 MB, free: 6.328 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.1095, allocations: 35.92 kB / 366.2 MB, free: 6.293 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005064/0.11, allocations: 8 kB / 366.2 MB, free: 6.285 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004176/0.1104, allocations: 262.6 kB / 366.5 MB, free: 5.984 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.1107, allocations: 0.6965 MB / 367.1 MB, free: 5.262 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.974e-05/0.1108, allocations: 7.438 kB / 367.2 MB, free: 5.254 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1108, allocations: 0 / 367.2 MB, free: 5.254 MB / 302.1 MB Notification: Performance of Templates: time 0.002196/0.113, allocations: 0.8707 MB / 368 MB, free: 4.383 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.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