Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.BusUsage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001534/0.001534, allocations: 107.1 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001993/0.001993, allocations: 203.9 kB / 19.4 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.4 MB / 247.6 MB, free: 10.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 59.91 kB / 359.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2853, allocations: 50.54 MB / 409.9 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003702/0.289, allocations: 1.599 MB / 411.5 MB, free: 16 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.2901, allocations: 0.4908 MB / 412 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.159e-05/0.2902, allocations: 0 / 412 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.666e-05/0.2903, allocations: 11.88 kB / 412 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.2904, allocations: 15.84 kB / 412 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.2907, allocations: 31.91 kB / 412.1 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.2908, allocations: 59.84 kB / 412.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.291, allocations: 48.12 kB / 412.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.2911, allocations: 35.86 kB / 412.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.783e-05/0.2912, allocations: 27.84 kB / 412.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.2912, allocations: 8 kB / 412.3 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.516e-05/0.2913, allocations: 8 kB / 412.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.2913, allocations: 11.94 kB / 412.3 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.828e-05/0.2913, allocations: 35.78 kB / 412.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.2915, allocations: 75.72 kB / 412.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2915, allocations: 0 / 412.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2915, allocations: 0 / 412.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.2915, allocations: 0 / 412.4 MB, free: 15.15 MB / 334.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.0004737/0.292, allocations: 384.4 kB / 412.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.292, allocations: 8.031 kB / 412.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.2922, allocations: 24.77 kB / 412.8 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.2924, allocations: 184.2 kB / 413 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.2924, allocations: 16.31 kB / 413 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.2924, allocations: 4.375 kB / 413 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002176/0.2926, allocations: 114.2 kB / 413.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.2927, allocations: 0 / 413.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.2927, allocations: 3.984 kB / 413.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.2927, allocations: 8 kB / 413.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.2929, allocations: 63.89 kB / 413.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005771/0.2934, allocations: 0.638 MB / 413.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.2936, allocations: 113.1 kB / 413.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.986e-05/0.2937, allocations: 60.28 kB / 414 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.2937, allocations: 3.984 kB / 414 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.2938, allocations: 38.5 kB / 414 MB, free: 13.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.2938, allocations: 0 / 414 MB, free: 13.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004291/0.2942, allocations: 121.5 kB / 414.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.253e-05/0.2943, allocations: 154.2 kB / 414.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.455e-05/0.2944, allocations: 130.3 kB / 414.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.2944, allocations: 25.7 kB / 414.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.228e-05/0.2945, allocations: 100 kB / 414.5 MB, free: 12.69 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.2945, allocations: 19.72 kB / 414.6 MB, free: 12.67 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.2946, allocations: 21.72 kB / 414.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.2947, allocations: 322.8 kB / 414.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.806e-05/0.2948, allocations: 19.98 kB / 414.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.2949, allocations: 56.22 kB / 415 MB, free: 12.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.295, allocations: 76.2 kB / 415 MB, free: 12.14 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.295, allocations: 4 kB / 415 MB, free: 12.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002119/0.2953, allocations: 93.59 kB / 415.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.2953, allocations: 8 kB / 415.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2953, allocations: 0 / 415.1 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.2953, allocations: 3.984 kB / 415.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.022e-05/0.2954, allocations: 15.94 kB / 415.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.2954, allocations: 4.156 kB / 415.2 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.731e-05/0.2955, allocations: 15.83 kB / 415.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.2955, allocations: 4 kB / 415.2 MB, free: 11.98 MB / 334.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 7.696e-05/0.2956, allocations: 117.8 kB / 415.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.912e-05/0.2957, allocations: 4 kB / 415.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.347e-05/0.2957, allocations: 19.47 kB / 415.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2957, allocations: 0 / 415.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.2957, allocations: 4 kB / 415.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.293e-05/0.2958, allocations: 92.89 kB / 415.4 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.2958, allocations: 11.94 kB / 415.4 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.296, allocations: 7.984 kB / 415.4 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.2961, allocations: 7.938 kB / 415.5 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003703/0.2965, allocations: 493.9 kB / 415.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00035/0.2968, allocations: 0.5548 MB / 416.5 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.877e-05/0.2969, allocations: 27.92 kB / 416.5 MB, free: 10.6 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.456e-05/0.297, allocations: 95.2 kB / 416.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of Backend: time 2e-07/0.297, allocations: 0 / 416.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007259/0.2977, allocations: 119.1 kB / 416.7 MB, free: 10.38 MB / 334.1 MB Notification: Performance of SimCode: time 0.0004967/0.2982, allocations: 0.6012 MB / 417.3 MB, free: 9.734 MB / 334.1 MB Notification: Performance of Templates: time 0.003109/0.3014, allocations: 0.7625 MB / 418.1 MB, free: 8.973 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.BusUsage.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_trunk_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.BusUsage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches