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.001157/0.001157, allocations: 115.2 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001186/0.001186, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 63.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2769, allocations: 50.54 MB / 409.9 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002798/0.2798, allocations: 1.614 MB / 411.5 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008435/0.2807, allocations: 494.7 kB / 412 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.245e-05/0.2807, allocations: 4 kB / 412 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.118e-05/0.2808, allocations: 7.875 kB / 412 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.033e-05/0.2809, allocations: 7.875 kB / 412 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002228/0.2811, allocations: 39.89 kB / 412.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.2813, allocations: 51.84 kB / 412.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.2815, allocations: 56.08 kB / 412.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.2816, allocations: 27.92 kB / 412.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.776e-05/0.2817, allocations: 31.83 kB / 412.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.2817, allocations: 8 kB / 412.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.87e-05/0.2818, allocations: 8 kB / 412.2 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.2818, allocations: 11.94 kB / 412.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.98e-05/0.2818, allocations: 31.8 kB / 412.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.282, allocations: 79.64 kB / 412.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.282, allocations: 0 / 412.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.282, allocations: 0 / 412.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.282, allocations: 4 kB / 412.4 MB, free: 15.14 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.0005221/0.2826, allocations: 384.4 kB / 412.7 MB, free: 14.72 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.2826, allocations: 12.03 kB / 412.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001625/0.2828, allocations: 16.83 kB / 412.8 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.2831, allocations: 184.2 kB / 413 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.2831, allocations: 4.375 kB / 413 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.2831, allocations: 4.375 kB / 413 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002256/0.2833, allocations: 118.2 kB / 413.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.2834, allocations: 11.92 kB / 413.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.2834, allocations: 0 / 413.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.2834, allocations: 0 / 413.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.2836, allocations: 63.89 kB / 413.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000635/0.2842, allocations: 0.6419 MB / 413.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.2844, allocations: 117 kB / 413.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.2845, allocations: 60.34 kB / 414 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.2845, allocations: 0 / 414 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.2846, allocations: 42.48 kB / 414 MB, free: 13.26 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.2846, allocations: 0 / 414 MB, free: 13.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004401/0.285, allocations: 121.7 kB / 414.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.222e-05/0.2851, allocations: 162.2 kB / 414.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.2853, allocations: 129.6 kB / 414.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.2853, allocations: 25.7 kB / 414.4 MB, free: 12.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.338e-05/0.2853, allocations: 96.05 kB / 414.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.2854, allocations: 16.19 kB / 414.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.004e-05/0.2854, allocations: 25.7 kB / 414.6 MB, free: 12.63 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.2855, allocations: 322.8 kB / 414.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.015e-05/0.2856, allocations: 19.98 kB / 414.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.809e-05/0.2857, allocations: 44.28 kB / 415 MB, free: 12.23 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.2859, allocations: 84.2 kB / 415 MB, free: 12.13 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2859, allocations: 0 / 415 MB, free: 12.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002259/0.2861, allocations: 101.5 kB / 415.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.2862, allocations: 4 kB / 415.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.2862, allocations: 4 kB / 415.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.2862, allocations: 0 / 415.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.2863, allocations: 11.98 kB / 415.2 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.2863, allocations: 4 kB / 415.2 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.769e-05/0.2864, allocations: 15.83 kB / 415.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.2864, allocations: 8.156 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 9.172e-05/0.2865, allocations: 121.7 kB / 415.3 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.915e-05/0.2866, allocations: 4 kB / 415.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.058e-05/0.2866, allocations: 15.47 kB / 415.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.2867, allocations: 4 kB / 415.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2867, allocations: 0 / 415.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.2867, allocations: 7.938 kB / 415.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003759/0.2871, allocations: 185.6 kB / 415.5 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2871, allocations: 0 / 415.5 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.815e-05/0.2871, allocations: 15.98 kB / 415.5 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.2871, allocations: 7.938 kB / 415.5 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.2872, allocations: 4 kB / 415.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2872, allocations: 0 / 415.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2872, allocations: 4 kB / 415.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000363/0.2875, allocations: 0.4888 MB / 416 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.656e-05/0.2876, allocations: 88.95 kB / 416.1 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.2876, allocations: 0 / 416.1 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.2878, allocations: 11.98 kB / 416.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.2879, allocations: 15.92 kB / 416.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.2879, allocations: 4 kB / 416.2 MB, free: 10.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.307e-05/0.288, allocations: 95.27 kB / 416.2 MB, free: 10.81 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.288, allocations: 0 / 416.2 MB, free: 10.81 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003822/0.2884, allocations: 8 kB / 416.3 MB, free: 10.8 MB / 334.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.0001134/0.2885, allocations: 99.19 kB / 416.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002231/0.2887, allocations: 56.16 kB / 416.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2887, allocations: 4.062 kB / 416.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.704e-05/0.2888, allocations: 35.91 kB / 416.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005236/0.2893, allocations: 8 kB / 416.4 MB, free: 10.6 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004261/0.2898, allocations: 232.6 kB / 416.7 MB, free: 10.33 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.2901, allocations: 0.6885 MB / 417.4 MB, free: 9.613 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.709e-05/0.2901, allocations: 11.44 kB / 417.4 MB, free: 9.602 MB / 334.1 MB Notification: Performance of SimCode: time 2e-07/0.2901, allocations: 0 / 417.4 MB, free: 9.602 MB / 334.1 MB Notification: Performance of Templates: time 0.002296/0.2924, allocations: 0.9076 MB / 418.3 MB, free: 8.691 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