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.001181/0.001181, allocations: 113.8 kB / 17.74 MB, free: 5.355 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.001099/0.0011, allocations: 185.5 kB / 18.67 MB, free: 4.441 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.33/1.33, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001027/0.001027, allocations: 47.92 kB / 352 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2851, allocations: 49.42 MB / 401.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.004024/0.2891, allocations: 1.6 MB / 403 MB, free: 7.297 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009602/0.2901, allocations: 426.9 kB / 403.4 MB, free: 6.879 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.86e-05/0.2902, allocations: 7.938 kB / 403.4 MB, free: 6.871 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.444e-05/0.2903, allocations: 7.875 kB / 403.4 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.705e-05/0.2904, allocations: 11.86 kB / 403.4 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001873/0.2906, allocations: 23.97 kB / 403.5 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.2907, allocations: 63.78 kB / 403.5 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002192/0.291, allocations: 39.92 kB / 403.6 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.2911, allocations: 31.84 kB / 403.6 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.415e-05/0.2912, allocations: 31.84 kB / 403.6 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.816e-05/0.2912, allocations: 4 kB / 403.6 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.787e-05/0.2913, allocations: 8 kB / 403.6 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.014e-05/0.2913, allocations: 11.92 kB / 403.6 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.35e-05/0.2914, allocations: 27.81 kB / 403.7 MB, free: 6.613 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.2915, allocations: 75.7 kB / 403.7 MB, free: 6.539 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2916, allocations: 4 kB / 403.7 MB, free: 6.535 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2916, allocations: 0 / 403.7 MB, free: 6.535 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.2916, allocations: 0 / 403.7 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.0006786/0.2923, allocations: 384.4 kB / 404.1 MB, free: 6.117 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.2923, allocations: 8.031 kB / 404.1 MB, free: 6.109 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.93e-05/0.2924, allocations: 8.844 kB / 404.1 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.2926, allocations: 176.2 kB / 404.3 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.538e-05/0.2926, allocations: 8.375 kB / 404.3 MB, free: 5.883 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.2926, allocations: 11.94 kB / 404.3 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003111/0.293, allocations: 113.3 kB / 404.4 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.293, allocations: 0 / 404.4 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.293, allocations: 3.984 kB / 404.4 MB, free: 5.738 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.293, allocations: 3.938 kB / 404.4 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002532/0.2933, allocations: 59.91 kB / 404.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008836/0.2942, allocations: 0.6342 MB / 405.1 MB, free: 4.977 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.2945, allocations: 112.9 kB / 405.2 MB, free: 4.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.2946, allocations: 60.39 kB / 405.3 MB, free: 4.746 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.2947, allocations: 0 / 405.3 MB, free: 4.746 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.617e-05/0.2947, allocations: 38.5 kB / 405.3 MB, free: 4.699 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.2947, allocations: 0 / 405.3 MB, free: 4.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006767/0.2954, allocations: 129.4 kB / 405.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.2955, allocations: 158.2 kB / 405.6 MB, free: 4.375 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.2957, allocations: 117.8 kB / 405.7 MB, free: 4.25 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.2957, allocations: 30.27 kB / 405.8 MB, free: 4.215 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.826e-05/0.2958, allocations: 100 kB / 405.9 MB, free: 4.113 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.443e-05/0.2958, allocations: 23.73 kB / 405.9 MB, free: 4.09 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.749e-05/0.2959, allocations: 17.72 kB / 405.9 MB, free: 4.066 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.2961, allocations: 318.8 kB / 406.2 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.2962, allocations: 23.98 kB / 406.2 MB, free: 3.723 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.2963, allocations: 48.22 kB / 406.3 MB, free: 3.66 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.2966, allocations: 84.33 kB / 406.4 MB, free: 3.562 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.2966, allocations: 4 kB / 406.4 MB, free: 3.559 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003293/0.2969, allocations: 97.44 kB / 406.5 MB, free: 3.457 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.297, allocations: 11.98 kB / 406.5 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.297, allocations: 0 / 406.5 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.297, allocations: 7.938 kB / 406.5 MB, free: 3.438 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.2972, allocations: 8 kB / 406.5 MB, free: 3.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.2972, allocations: 3.984 kB / 406.5 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.2973, allocations: 16.16 kB / 406.5 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.2973, allocations: 0 / 406.5 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 0.0001296/0.2974, allocations: 121.8 kB / 406.6 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001737/0.2976, allocations: 3.906 kB / 406.6 MB, free: 3.277 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.272e-05/0.2977, allocations: 15.52 kB / 406.7 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.2977, allocations: 11.88 kB / 406.7 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.2977, allocations: 0 / 406.7 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.2977, allocations: 0 / 406.7 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006799/0.2984, allocations: 185.6 kB / 406.8 MB, free: 3.016 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2984, allocations: 4 kB / 406.9 MB, free: 3.012 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.442e-05/0.2985, allocations: 15.98 kB / 406.9 MB, free: 2.996 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.2985, allocations: 0 / 406.9 MB, free: 2.996 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.2986, allocations: 4 kB / 406.9 MB, free: 2.992 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.2986, allocations: 3.938 kB / 406.9 MB, free: 2.988 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2986, allocations: 0 / 406.9 MB, free: 2.988 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004827/0.2991, allocations: 496.5 kB / 407.4 MB, free: 2.484 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.428e-05/0.2991, allocations: 77.11 kB / 407.4 MB, free: 2.391 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.952e-05/0.2992, allocations: 11.98 kB / 407.4 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004046/0.2996, allocations: 7.938 kB / 407.5 MB, free: 2.371 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.91e-05/0.2997, allocations: 15.97 kB / 407.5 MB, free: 2.355 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.2997, allocations: 4 kB / 407.5 MB, free: 2.352 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.84e-05/0.2998, allocations: 95.64 kB / 407.6 MB, free: 2.258 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2998, allocations: 0 / 407.6 MB, free: 2.258 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000768/0.3005, allocations: 15.91 kB / 407.6 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 0.0001487/0.3007, allocations: 103.1 kB / 407.7 MB, free: 2.133 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003247/0.301, allocations: 64.02 kB / 407.7 MB, free: 2.07 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3011, allocations: 0 / 407.7 MB, free: 2.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.3012, allocations: 35.86 kB / 407.8 MB, free: 2.035 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.3022, allocations: 4 kB / 407.8 MB, free: 2.031 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006152/0.3028, allocations: 240.8 kB / 408 MB, free: 1.75 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004054/0.3033, allocations: 0.6961 MB / 408.7 MB, free: 1.027 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.966e-05/0.3033, allocations: 7.438 kB / 408.7 MB, free: 1.02 MB / 318.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3033, allocations: 0 / 408.7 MB, free: 1.02 MB / 318.1 MB Notification: Performance of Templates: time 0.00321/0.3066, allocations: 0.8753 MB / 409.6 MB, free: 152 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