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.001523/0.001523, allocations: 107.8 kB / 17.06 MB, free: 6.137 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.001598/0.001599, allocations: 188 kB / 18 MB, free: 5.219 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.446/1.446, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009447/0.0009448, allocations: 51.92 kB / 351.3 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3236, allocations: 49.42 MB / 400.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002853/0.3265, allocations: 1.606 MB / 402.3 MB, free: 7.297 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007004/0.3273, allocations: 426.9 kB / 402.7 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.509e-05/0.3273, allocations: 4 kB / 402.7 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.473e-05/0.3274, allocations: 7.875 kB / 402.7 MB, free: 6.867 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.3275, allocations: 11.86 kB / 402.7 MB, free: 6.855 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001713/0.3277, allocations: 23.91 kB / 402.8 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.726e-05/0.3278, allocations: 59.78 kB / 402.8 MB, free: 6.773 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.328, allocations: 47.95 kB / 402.9 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.975e-05/0.3281, allocations: 39.78 kB / 402.9 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.417e-05/0.3282, allocations: 27.86 kB / 402.9 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.3282, allocations: 4 kB / 402.9 MB, free: 6.656 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.448e-05/0.3282, allocations: 8 kB / 403 MB, free: 6.648 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.432e-05/0.3282, allocations: 15.92 kB / 403 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.985e-05/0.3283, allocations: 27.81 kB / 403 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.3284, allocations: 71.77 kB / 403.1 MB, free: 6.535 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3285, allocations: 0 / 403.1 MB, free: 6.535 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3285, allocations: 0 / 403.1 MB, free: 6.535 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.3285, allocations: 0 / 403.1 MB, free: 6.535 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.0006233/0.3291, allocations: 388.4 kB / 403.4 MB, free: 6.113 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.3291, allocations: 8.031 kB / 403.5 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.851e-05/0.3292, allocations: 8.844 kB / 403.5 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.3293, allocations: 176.2 kB / 403.6 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.133e-05/0.3294, allocations: 4.375 kB / 403.6 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.3294, allocations: 11.94 kB / 403.6 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.3296, allocations: 117.9 kB / 403.8 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3297, allocations: 0 / 403.8 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.3297, allocations: 3.938 kB / 403.8 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.3297, allocations: 0 / 403.8 MB, free: 5.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.3299, allocations: 55.89 kB / 403.8 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000671/0.3306, allocations: 0.6342 MB / 404.5 MB, free: 4.977 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.3308, allocations: 121 kB / 404.6 MB, free: 4.812 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.3309, allocations: 48.34 kB / 404.6 MB, free: 4.75 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.3309, allocations: 4 kB / 404.6 MB, free: 4.746 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.3309, allocations: 42.5 kB / 404.7 MB, free: 4.695 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.3309, allocations: 0 / 404.7 MB, free: 4.695 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004729/0.3314, allocations: 125.9 kB / 404.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.385e-05/0.3315, allocations: 166.2 kB / 405 MB, free: 4.367 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.3316, allocations: 113.8 kB / 405.1 MB, free: 4.246 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.3317, allocations: 29.7 kB / 405.1 MB, free: 4.211 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.393e-05/0.3317, allocations: 100 kB / 405.2 MB, free: 4.109 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.3318, allocations: 19.75 kB / 405.2 MB, free: 4.09 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.3318, allocations: 17.72 kB / 405.2 MB, free: 4.066 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.3319, allocations: 322.9 kB / 405.5 MB, free: 3.742 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.003e-05/0.332, allocations: 15.98 kB / 405.6 MB, free: 3.727 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.3321, allocations: 56.22 kB / 405.6 MB, free: 3.656 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.3323, allocations: 84.12 kB / 405.7 MB, free: 3.559 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3323, allocations: 4 kB / 405.7 MB, free: 3.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002247/0.3326, allocations: 97.56 kB / 405.8 MB, free: 3.453 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.3326, allocations: 10.81 kB / 405.8 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3326, allocations: 0 / 405.8 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.3326, allocations: 8.062 kB / 405.8 MB, free: 3.438 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.3327, allocations: 19.92 kB / 405.8 MB, free: 3.418 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.3327, allocations: 0 / 405.8 MB, free: 3.418 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.507e-05/0.3328, allocations: 8 kB / 405.8 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.3328, allocations: 0 / 405.8 MB, free: 3.41 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 9.305e-05/0.3329, allocations: 125.9 kB / 406 MB, free: 3.277 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.922e-05/0.333, allocations: 7.906 kB / 406 MB, free: 3.27 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.026e-05/0.3331, allocations: 19.45 kB / 406 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-05/0.3331, allocations: 3.938 kB / 406 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3331, allocations: 4 kB / 406 MB, free: 3.238 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3331, allocations: 0 / 406 MB, free: 3.238 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003763/0.3335, allocations: 185.6 kB / 406.2 MB, free: 3.008 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.3335, allocations: 0 / 406.2 MB, free: 3.008 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.245e-05/0.3336, allocations: 19.92 kB / 406.2 MB, free: 2.988 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3336, allocations: 0 / 406.2 MB, free: 2.988 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.3336, allocations: 8 kB / 406.2 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3336, allocations: 3.938 kB / 406.2 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3336, allocations: 0 / 406.2 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003743/0.334, allocations: 496.5 kB / 406.7 MB, free: 2.473 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.611e-05/0.334, allocations: 81.09 kB / 406.8 MB, free: 2.375 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.3341, allocations: 4 kB / 406.8 MB, free: 2.371 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.3343, allocations: 7.938 kB / 406.8 MB, free: 2.363 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.143e-05/0.3343, allocations: 11.98 kB / 406.8 MB, free: 2.352 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.3343, allocations: 4 kB / 406.8 MB, free: 2.348 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.824e-05/0.3344, allocations: 91.27 kB / 406.9 MB, free: 2.258 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3344, allocations: 4 kB / 406.9 MB, free: 2.254 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003826/0.3348, allocations: 11.91 kB / 406.9 MB, free: 2.242 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 9.847e-05/0.3349, allocations: 103.2 kB / 407 MB, free: 2.133 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002434/0.3352, allocations: 59.83 kB / 407.1 MB, free: 2.074 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3352, allocations: 0 / 407.1 MB, free: 2.074 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.3353, allocations: 36.36 kB / 407.1 MB, free: 2.039 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005239/0.3358, allocations: 11.94 kB / 407.1 MB, free: 2.027 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004525/0.3363, allocations: 202.7 kB / 407.3 MB, free: 1.789 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.3366, allocations: 0.6963 MB / 408 MB, free: 1.066 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.055e-05/0.3366, allocations: 11.92 kB / 408 MB, free: 1.055 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.055e-05/0.3367, allocations: 7.438 kB / 408 MB, free: 1.047 MB / 318.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3367, allocations: 4 kB / 408 MB, free: 1.043 MB / 318.1 MB Notification: Performance of Templates: time 0.002645/0.3393, allocations: 0.5564 MB / 408.6 MB, free: 500 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/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