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.001666/0.001666, allocations: 112.3 kB / 17.74 MB, free: 5.293 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.001698/0.001698, allocations: 187 kB / 18.67 MB, free: 4.375 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.578/1.578, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 47.94 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3849, allocations: 49.42 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003919/0.3889, allocations: 1.598 MB / 403 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009392/0.3898, allocations: 430.9 kB / 403.4 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.755e-05/0.3899, allocations: 0 / 403.4 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.471e-05/0.39, allocations: 15.86 kB / 403.4 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.3902, allocations: 7.875 kB / 403.4 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.3904, allocations: 19.97 kB / 403.4 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.3905, allocations: 59.78 kB / 403.5 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002411/0.3908, allocations: 47.89 kB / 403.5 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001289/0.3909, allocations: 35.84 kB / 403.6 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.233e-05/0.391, allocations: 27.86 kB / 403.6 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.391, allocations: 4 kB / 403.6 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.639e-05/0.391, allocations: 4 kB / 403.6 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.896e-05/0.3911, allocations: 23.86 kB / 403.6 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.989e-05/0.3911, allocations: 31.8 kB / 403.7 MB, free: 6.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.3913, allocations: 67.72 kB / 403.7 MB, free: 6.523 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3913, allocations: 4 kB / 403.7 MB, free: 6.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3913, allocations: 0 / 403.7 MB, free: 6.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.3913, allocations: 0 / 403.7 MB, free: 6.52 MB / 318.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.0006724/0.392, allocations: 387.5 kB / 404.1 MB, free: 6.102 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.392, allocations: 12.03 kB / 404.1 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.41e-05/0.3921, allocations: 8.844 kB / 404.1 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.3923, allocations: 176.2 kB / 404.3 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.3923, allocations: 384 / 404.3 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.3923, allocations: 11.94 kB / 404.3 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.3926, allocations: 109.9 kB / 404.4 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.3926, allocations: 3.938 kB / 404.4 MB, free: 5.727 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.3926, allocations: 8 kB / 404.4 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.3927, allocations: 0 / 404.4 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001876/0.3929, allocations: 55.89 kB / 404.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007685/0.3936, allocations: 0.6342 MB / 405.1 MB, free: 4.965 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.3938, allocations: 121 kB / 405.3 MB, free: 4.801 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.3939, allocations: 48.34 kB / 405.3 MB, free: 4.738 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.327e-05/0.394, allocations: 4 kB / 405.3 MB, free: 4.734 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.394, allocations: 42.5 kB / 405.3 MB, free: 4.684 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.3941, allocations: 0 / 405.3 MB, free: 4.684 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004615/0.3945, allocations: 129.9 kB / 405.5 MB, free: 4.551 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002426/0.3948, allocations: 158.2 kB / 405.6 MB, free: 4.359 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.3949, allocations: 121.8 kB / 405.7 MB, free: 4.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.3949, allocations: 29.7 kB / 405.8 MB, free: 4.195 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.817e-05/0.395, allocations: 100 kB / 405.9 MB, free: 4.094 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.395, allocations: 15.75 kB / 405.9 MB, free: 4.078 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-05/0.3951, allocations: 25.7 kB / 405.9 MB, free: 4.047 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.3952, allocations: 314.9 kB / 406.2 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.656e-05/0.3953, allocations: 19.98 kB / 406.2 MB, free: 3.711 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.676e-05/0.3954, allocations: 56.27 kB / 406.3 MB, free: 3.641 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.3956, allocations: 76.33 kB / 406.4 MB, free: 3.551 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.3957, allocations: 4 kB / 406.4 MB, free: 3.547 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002431/0.3959, allocations: 105.5 kB / 406.5 MB, free: 3.438 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.3959, allocations: 8 kB / 406.5 MB, free: 3.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3959, allocations: 0 / 406.5 MB, free: 3.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.396, allocations: 7.922 kB / 406.5 MB, free: 3.422 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.3961, allocations: 15.98 kB / 406.5 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.3961, allocations: 0 / 406.5 MB, free: 3.406 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.936e-05/0.3962, allocations: 4 kB / 406.5 MB, free: 3.402 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.3962, allocations: 11.92 kB / 406.5 MB, free: 3.391 MB / 318.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.000111/0.3963, allocations: 121.9 kB / 406.6 MB, free: 3.262 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.928e-05/0.3964, allocations: 15.84 kB / 406.7 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.649e-05/0.3965, allocations: 11.53 kB / 406.7 MB, free: 3.23 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.3965, allocations: 3.938 kB / 406.7 MB, free: 3.227 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.3965, allocations: 4 kB / 406.7 MB, free: 3.223 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3965, allocations: 0 / 406.7 MB, free: 3.223 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004114/0.3969, allocations: 185.6 kB / 406.9 MB, free: 2.992 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.3969, allocations: 3.984 kB / 406.9 MB, free: 2.988 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.848e-05/0.397, allocations: 8 kB / 406.9 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/0.397, allocations: 4 kB / 406.9 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.397, allocations: 4 kB / 406.9 MB, free: 2.973 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.397, allocations: 7.938 kB / 406.9 MB, free: 2.965 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.397, allocations: 3.984 kB / 406.9 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004081/0.3975, allocations: 492.5 kB / 407.4 MB, free: 2.461 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.85e-05/0.3975, allocations: 81.11 kB / 407.4 MB, free: 2.363 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.3975, allocations: 4 kB / 407.5 MB, free: 2.359 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.3977, allocations: 11.92 kB / 407.5 MB, free: 2.348 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.188e-05/0.3978, allocations: 8 kB / 407.5 MB, free: 2.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.3978, allocations: 0 / 407.5 MB, free: 2.34 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.981e-05/0.3979, allocations: 95.27 kB / 407.6 MB, free: 2.246 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.262e-06/0.3979, allocations: 4 kB / 407.6 MB, free: 2.242 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003825/0.3983, allocations: 15.84 kB / 407.6 MB, free: 2.227 MB / 318.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.0001262/0.3984, allocations: 99.19 kB / 407.7 MB, free: 2.121 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002334/0.3987, allocations: 59.89 kB / 407.7 MB, free: 2.062 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3987, allocations: 0 / 407.7 MB, free: 2.062 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.965e-05/0.3988, allocations: 36.3 kB / 407.8 MB, free: 2.027 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005073/0.3993, allocations: 8 kB / 407.8 MB, free: 2.02 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004843/0.3998, allocations: 232.3 kB / 408 MB, free: 1.746 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.4001, allocations: 0.7003 MB / 408.7 MB, free: 1.02 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.347e-05/0.4002, allocations: 11.44 kB / 408.7 MB, free: 1.008 MB / 318.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4002, allocations: 0 / 408.7 MB, free: 1.008 MB / 318.1 MB Notification: Performance of Templates: time 0.002787/0.403, allocations: 0.8757 MB / 409.6 MB, free: 136 kB / 318.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