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.001276/0.001276, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001464/0.001464, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.4 MB / 247.4 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 67.73 kB / 307.6 MB, free: 0.6562 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08736/0.08852, allocations: 50.52 MB / 358.1 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.00295/0.09149, allocations: 1.607 MB / 359.7 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008518/0.09237, allocations: 494.7 kB / 360.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.682e-05/0.09247, allocations: 4 kB / 360.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.215e-05/0.09252, allocations: 11.86 kB / 360.2 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.077e-05/0.09263, allocations: 7.875 kB / 360.2 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.09284, allocations: 39.89 kB / 360.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00012/0.09297, allocations: 59.78 kB / 360.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.09315, allocations: 44.14 kB / 360.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.09331, allocations: 31.91 kB / 360.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.639e-05/0.09339, allocations: 39.78 kB / 360.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.09341, allocations: 4 kB / 360.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.931e-05/0.09347, allocations: 12 kB / 360.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.952e-05/0.09349, allocations: 11.94 kB / 360.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.175e-05/0.09354, allocations: 35.73 kB / 360.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.09369, allocations: 75.98 kB / 360.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.0937, allocations: 0 / 360.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.09371, allocations: 0 / 360.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.146e-06/0.09372, allocations: 4 kB / 360.6 MB, free: 11.64 MB / 302.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.0004698/0.0942, allocations: 383.1 kB / 361 MB, free: 11.22 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.09425, allocations: 12.03 kB / 361 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.0944, allocations: 16.83 kB / 361 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.09458, allocations: 184.2 kB / 361.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.09461, allocations: 4.375 kB / 361.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.444e-05/0.09463, allocations: 4.375 kB / 361.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.09488, allocations: 122.2 kB / 361.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.0949, allocations: 4 kB / 361.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.09492, allocations: 4 kB / 361.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.09493, allocations: 0 / 361.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/0.09511, allocations: 55.89 kB / 361.4 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006346/0.09576, allocations: 0.642 MB / 362 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.09595, allocations: 116.9 kB / 362.1 MB, free: 9.898 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.09607, allocations: 56.41 kB / 362.2 MB, free: 9.828 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.0961, allocations: 8 kB / 362.2 MB, free: 9.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.09613, allocations: 38.48 kB / 362.2 MB, free: 9.773 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.09614, allocations: 0 / 362.2 MB, free: 9.773 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004569/0.0966, allocations: 125.6 kB / 362.3 MB, free: 9.645 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.744e-05/0.09669, allocations: 158.2 kB / 362.5 MB, free: 9.453 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.016e-05/0.09678, allocations: 125.7 kB / 362.6 MB, free: 9.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.09681, allocations: 33.64 kB / 362.7 MB, free: 9.281 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.453e-05/0.09687, allocations: 104 kB / 362.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.0969, allocations: 12.25 kB / 362.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/0.09695, allocations: 29.7 kB / 362.8 MB, free: 9.129 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.09708, allocations: 310.8 kB / 363.1 MB, free: 8.816 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.369e-05/0.09717, allocations: 23.97 kB / 363.1 MB, free: 8.793 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.339e-05/0.09727, allocations: 56.28 kB / 363.2 MB, free: 8.723 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001749/0.09746, allocations: 76.2 kB / 363.3 MB, free: 8.633 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.09747, allocations: 0 / 363.3 MB, free: 8.633 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002398/0.09771, allocations: 105.4 kB / 363.4 MB, free: 8.523 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.09774, allocations: 6.812 kB / 363.4 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.09775, allocations: 4 kB / 363.4 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.09777, allocations: 0 / 363.4 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.644e-05/0.09787, allocations: 11.98 kB / 363.4 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.09789, allocations: 4 kB / 363.4 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.826e-05/0.09796, allocations: 11.92 kB / 363.4 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.09798, allocations: 8.156 kB / 363.4 MB, free: 8.48 MB / 302.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.822e-05/0.09809, allocations: 129.6 kB / 363.5 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.539e-05/0.09819, allocations: 7.906 kB / 363.5 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.23e-05/0.09823, allocations: 23.47 kB / 363.6 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.09823, allocations: 0 / 363.6 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.09824, allocations: 0 / 363.6 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.09826, allocations: 7.938 kB / 363.6 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003825/0.09864, allocations: 185.6 kB / 363.8 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.09865, allocations: 0 / 363.8 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.082e-05/0.09873, allocations: 15.98 kB / 363.8 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.09874, allocations: 4 kB / 363.8 MB, free: 8.055 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.09876, allocations: 0 / 363.8 MB, free: 8.055 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.09876, allocations: 4 kB / 363.8 MB, free: 8.051 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.09877, allocations: 0 / 363.8 MB, free: 8.051 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003876/0.09916, allocations: 496.4 kB / 364.3 MB, free: 7.547 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.046e-05/0.09921, allocations: 81.11 kB / 364.3 MB, free: 7.449 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.09924, allocations: 4 kB / 364.3 MB, free: 7.445 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.09946, allocations: 8.172 kB / 364.4 MB, free: 7.438 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.09951, allocations: 19.86 kB / 364.4 MB, free: 7.418 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.09953, allocations: 4 kB / 364.4 MB, free: 7.414 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.827e-05/0.09959, allocations: 95.28 kB / 364.5 MB, free: 7.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0996, allocations: 0 / 364.5 MB, free: 7.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003964/0.1, allocations: 15.89 kB / 364.5 MB, free: 7.305 MB / 302.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.905e-05/0.1001, allocations: 103.1 kB / 364.6 MB, free: 7.195 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002366/0.1003, allocations: 56.16 kB / 364.6 MB, free: 7.141 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.1004, allocations: 4.062 kB / 364.6 MB, free: 7.137 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.1005, allocations: 35.91 kB / 364.7 MB, free: 7.102 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000521/0.101, allocations: 8 kB / 364.7 MB, free: 7.094 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004396/0.1014, allocations: 220.7 kB / 364.9 MB, free: 6.836 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.1017, allocations: 0.6963 MB / 365.6 MB, free: 6.113 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.615e-05/0.1018, allocations: 11.44 kB / 365.6 MB, free: 6.102 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1018, allocations: 0 / 365.6 MB, free: 6.102 MB / 302.1 MB Notification: Performance of Templates: time 0.00223/0.104, allocations: 0.8911 MB / 366.5 MB, free: 5.207 MB / 302.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