Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001491/0.001491, allocations: 183.4 kB / 18.04 MB, free: 3.543 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.322/1.322, allocations: 205.4 MB / 224.2 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007654/0.0007657, allocations: 88.61 kB / 272.5 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003178/0.0003179, allocations: 16 kB / 329.4 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2039, allocations: 47.57 MB / 377 MB, free: 45.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0821/0.2861, allocations: 76.13 MB / 453.1 MB, free: 4.402 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001938/0.2863, allocations: 67.97 kB / 453.2 MB, free: 4.336 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003769/0.2901, allocations: 1.468 MB / 454.7 MB, free: 2.863 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.2901, allocations: 0 / 454.7 MB, free: 2.863 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.2901, allocations: 0 / 454.7 MB, free: 2.863 MB / 330.7 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.0004015/0.2905, allocations: 379.3 kB / 455.1 MB, free: 2.441 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.2906, allocations: 8.031 kB / 455.1 MB, free: 2.434 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/0.2906, allocations: 12.78 kB / 455.1 MB, free: 2.422 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.2908, allocations: 184.1 kB / 455.3 MB, free: 2.203 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.2908, allocations: 4.375 kB / 455.3 MB, free: 2.199 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.2908, allocations: 8.375 kB / 455.3 MB, free: 2.191 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.291, allocations: 110.5 kB / 455.4 MB, free: 2.062 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.291, allocations: 192 / 455.4 MB, free: 2.062 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.2911, allocations: 15.92 kB / 455.4 MB, free: 2.047 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.2911, allocations: 0 / 455.4 MB, free: 2.047 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.2913, allocations: 71.83 kB / 455.5 MB, free: 1.977 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005868/0.2919, allocations: 0.6342 MB / 456.1 MB, free: 1.277 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.292, allocations: 123.6 kB / 456.2 MB, free: 1.113 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.2922, allocations: 56.28 kB / 456.3 MB, free: 1.043 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.2922, allocations: 4 kB / 456.3 MB, free: 1.039 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.2922, allocations: 42.55 kB / 456.3 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.2922, allocations: 0 / 456.3 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.000444/0.2927, allocations: 133.9 kB / 456.4 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.526e-05/0.2928, allocations: 158.2 kB / 456.6 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.272e-05/0.2928, allocations: 125.7 kB / 456.7 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.2929, allocations: 29.95 kB / 456.8 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.125e-05/0.2929, allocations: 108 kB / 456.9 MB, free: 392 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.293, allocations: 7.812 kB / 456.9 MB, free: 384 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.293, allocations: 4 kB / 456.9 MB, free: 380 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.2931, allocations: 322.8 kB / 457.2 MB, free: 48 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.06e-05/0.2932, allocations: 23.98 kB / 457.2 MB, free: 24 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.2933, allocations: 56.33 kB / 457.3 MB, free: 15.95 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.2935, allocations: 92.14 kB / 457.4 MB, free: 15.85 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2935, allocations: 3.938 kB / 457.4 MB, free: 15.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00023/0.2937, allocations: 113.5 kB / 457.5 MB, free: 15.73 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.2938, allocations: 4 kB / 457.5 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.2938, allocations: 0 / 457.5 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.2938, allocations: 4 kB / 457.5 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.147e-05/0.2939, allocations: 8 kB / 457.5 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.2939, allocations: 11.92 kB / 457.5 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.45e-05/0.294, allocations: 12.16 kB / 457.5 MB, free: 15.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/0.294, allocations: 3.938 kB / 457.5 MB, free: 15.68 MB / 346.7 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 (part.booleanExpression.y,booleanStep.y,integerStep.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.845e-05/0.2941, allocations: 117.8 kB / 457.6 MB, free: 15.56 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.208e-05/0.2942, allocations: 11.89 kB / 457.6 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.422e-05/0.2942, allocations: 11.48 kB / 457.7 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.2942, allocations: 4 kB / 457.7 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.2942, allocations: 0 / 457.7 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2942, allocations: 4 kB / 457.7 MB, free: 15.53 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003629/0.2946, allocations: 185.6 kB / 457.8 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.2946, allocations: 4.062 kB / 457.8 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.946e-05/0.2947, allocations: 19.98 kB / 457.9 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.2947, allocations: 4 kB / 457.9 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.2947, allocations: 4 kB / 457.9 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.2947, allocations: 3.938 kB / 457.9 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2947, allocations: 4 kB / 457.9 MB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003513/0.2951, allocations: 0.4927 MB / 458.4 MB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.866e-05/0.2951, allocations: 85.02 kB / 458.5 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.2952, allocations: 7.984 kB / 458.5 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.2954, allocations: 4 kB / 458.5 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.2954, allocations: 19.86 kB / 458.5 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.2954, allocations: 4 kB / 458.5 MB, free: 14.61 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.552e-05/0.2955, allocations: 91.27 kB / 458.6 MB, free: 14.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.545e-06/0.2955, allocations: 0 / 458.6 MB, free: 14.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003596/0.2959, allocations: 15.94 kB / 458.6 MB, free: 14.51 MB / 346.7 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 (part.booleanExpression.y,booleanStep.y,integerStep.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.197e-05/0.296, allocations: 99.19 kB / 458.7 MB, free: 14.4 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002215/0.2962, allocations: 76.08 kB / 458.8 MB, free: 14.32 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.2962, allocations: 0 / 458.8 MB, free: 14.32 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.2963, allocations: 35.92 kB / 458.8 MB, free: 14.29 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005051/0.2968, allocations: 8 kB / 458.8 MB, free: 14.28 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004095/0.2972, allocations: 233.1 kB / 459 MB, free: 14.02 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.2975, allocations: 0.6887 MB / 459.7 MB, free: 13.3 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.91e-05/0.2976, allocations: 15.98 kB / 459.7 MB, free: 13.29 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.526e-05/0.2976, allocations: 7.438 kB / 459.7 MB, free: 13.28 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2976, allocations: 0 / 459.7 MB, free: 13.28 MB / 346.7 MB Notification: Performance of Templates: time 0.002013/0.2996, allocations: 446.8 kB / 460.2 MB, free: 12.85 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches