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.001434/0.001434, allocations: 103.9 kB / 16.51 MB, free: 6.699 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.001711/0.001711, allocations: 191.5 kB / 17.42 MB, free: 6.086 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.404/1.404, allocations: 222.9 MB / 241.1 MB, free: 15.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 48.92 kB / 299.9 MB, free: 6.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1051, allocations: 49.45 MB / 349.4 MB, free: 4.883 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.00293/0.108, allocations: 1.653 MB / 351 MB, free: 3.207 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006956/0.1088, allocations: 419 kB / 351.4 MB, free: 2.797 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.775e-05/0.1089, allocations: 0 / 351.4 MB, free: 2.797 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.371e-05/0.1089, allocations: 7.938 kB / 351.5 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.545e-05/0.109, allocations: 3.938 kB / 351.5 MB, free: 2.785 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001362/0.1092, allocations: 31.91 kB / 351.5 MB, free: 2.754 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.513e-05/0.1093, allocations: 51.78 kB / 351.5 MB, free: 2.703 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.1094, allocations: 39.97 kB / 351.6 MB, free: 2.664 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.1096, allocations: 39.78 kB / 351.6 MB, free: 2.625 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.973e-05/0.1097, allocations: 23.86 kB / 351.6 MB, free: 2.602 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.1097, allocations: 4 kB / 351.6 MB, free: 2.598 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.467e-05/0.1097, allocations: 4 kB / 351.6 MB, free: 2.594 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.331e-05/0.1097, allocations: 15.92 kB / 351.7 MB, free: 2.578 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.242e-05/0.1098, allocations: 31.8 kB / 351.7 MB, free: 2.547 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.35e-05/0.1099, allocations: 59.78 kB / 351.8 MB, free: 2.488 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1099, allocations: 0 / 351.8 MB, free: 2.488 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.011e-06/0.1099, allocations: 4 kB / 351.8 MB, free: 2.484 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1099, allocations: 3.938 kB / 351.8 MB, free: 2.48 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.0005028/0.1104, allocations: 379.5 kB / 352.1 MB, free: 2.062 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.1105, allocations: 12.03 kB / 352.1 MB, free: 2.051 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.963e-05/0.1105, allocations: 8.844 kB / 352.2 MB, free: 2.043 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.1107, allocations: 172.3 kB / 352.3 MB, free: 1.836 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.1107, allocations: 8.312 kB / 352.3 MB, free: 1.828 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.1108, allocations: 12.12 kB / 352.3 MB, free: 1.816 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.111, allocations: 106 kB / 352.4 MB, free: 1.691 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.111, allocations: 0 / 352.4 MB, free: 1.691 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.1111, allocations: 4 kB / 352.4 MB, free: 1.688 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.1111, allocations: 4 kB / 352.5 MB, free: 1.684 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.1113, allocations: 63.83 kB / 352.5 MB, free: 1.621 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006279/0.1119, allocations: 0.6341 MB / 353.1 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.1121, allocations: 121 kB / 353.3 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.1122, allocations: 52.28 kB / 353.3 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.1122, allocations: 0 / 353.3 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.1123, allocations: 42.56 kB / 353.4 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.1123, allocations: 0 / 353.4 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004348/0.1127, allocations: 117.5 kB / 353.5 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.442e-05/0.1128, allocations: 170.7 kB / 353.6 MB, free: 324 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.896e-05/0.1129, allocations: 125.7 kB / 353.8 MB, free: 188 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.1129, allocations: 25.7 kB / 353.8 MB, free: 156 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.38e-05/0.113, allocations: 104 kB / 353.9 MB, free: 48 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.113, allocations: 15.81 kB / 353.9 MB, free: 32 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.464e-05/0.113, allocations: 21.7 kB / 353.9 MB, free: 4 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1132, allocations: 314.8 kB / 354.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.895e-05/0.1133, allocations: 15.98 kB / 354.2 MB, free: 15.67 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.081e-05/0.1134, allocations: 60.39 kB / 354.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.1135, allocations: 80.2 kB / 354.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1135, allocations: 4 kB / 354.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002326/0.1138, allocations: 93.53 kB / 354.5 MB, free: 15.4 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.1138, allocations: 10.66 kB / 354.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1138, allocations: 160 / 354.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.1138, allocations: 7.984 kB / 354.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.1139, allocations: 19.92 kB / 354.5 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.114, allocations: 3.938 kB / 354.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.784e-05/0.114, allocations: 7.906 kB / 354.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.114, allocations: 7.984 kB / 354.5 MB, free: 15.35 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.367e-05/0.1141, allocations: 121.8 kB / 354.7 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.235e-05/0.1142, allocations: 7.938 kB / 354.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.985e-05/0.1143, allocations: 11.53 kB / 354.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1143, allocations: 7.938 kB / 354.7 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1143, allocations: 4 kB / 354.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1143, allocations: 0 / 354.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003691/0.1147, allocations: 181.6 kB / 354.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1147, allocations: 0 / 354.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.148e-05/0.1148, allocations: 15.98 kB / 354.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1148, allocations: 0 / 354.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.1148, allocations: 0 / 354.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-06/0.1148, allocations: 11.88 kB / 354.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1148, allocations: 0 / 354.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003299/0.1151, allocations: 492.5 kB / 355.4 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.944e-05/0.1152, allocations: 85.02 kB / 355.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.1152, allocations: 8 kB / 355.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/0.1155, allocations: 11.88 kB / 355.5 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.291e-05/0.1155, allocations: 15.92 kB / 355.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.1155, allocations: 4 kB / 355.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.589e-05/0.1156, allocations: 91.27 kB / 355.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1156, allocations: 0 / 355.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003911/0.116, allocations: 8 kB / 355.6 MB, free: 14.19 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.0001009/0.1161, allocations: 107.2 kB / 355.7 MB, free: 14.08 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002208/0.1163, allocations: 55.89 kB / 355.8 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1163, allocations: 0 / 355.8 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.1165, allocations: 31.92 kB / 355.8 MB, free: 13.99 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005232/0.117, allocations: 8.625 kB / 355.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004124/0.1174, allocations: 232.2 kB / 356 MB, free: 13.72 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.1177, allocations: 0.6965 MB / 356.7 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.822e-05/0.1177, allocations: 0 / 356.7 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.33e-05/0.1178, allocations: 11.44 kB / 356.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1178, allocations: 0 / 356.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of Templates: time 0.002554/0.1203, allocations: 477.4 kB / 357.2 MB, free: 12.52 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins/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