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.0007727/0.0007724, allocations: 96.5 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009255/0.0009255, allocations: 207.8 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, allocations: 227.7 MB / 247.5 MB, free: 11.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002229/0.000223, allocations: 4 kB / 308.4 MB, free: 0.832 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08921/0.08945, allocations: 51.53 MB / 359.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.001732/0.09123, allocations: 1.318 MB / 361.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007716/0.09203, allocations: 490.8 kB / 361.7 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.404e-05/0.09211, allocations: 4 kB / 361.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.458e-05/0.09214, allocations: 7.938 kB / 361.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.012e-05/0.09223, allocations: 3.938 kB / 361.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001569/0.09239, allocations: 27.97 kB / 361.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.09251, allocations: 63.72 kB / 361.8 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.09266, allocations: 44.19 kB / 361.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.09278, allocations: 23.92 kB / 361.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.913e-05/0.09284, allocations: 15.86 kB / 361.9 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.09286, allocations: 11.94 kB / 361.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.015e-05/0.09291, allocations: 11.98 kB / 361.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.878e-06/0.09292, allocations: 0 / 361.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.673e-05/0.09298, allocations: 61.44 kB / 362 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.27e-05/0.09307, allocations: 40.19 kB / 362 MB, free: 11.17 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.09308, allocations: 4 kB / 362 MB, free: 11.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.09308, allocations: 0 / 362 MB, free: 11.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.0931, allocations: 3.938 kB / 362 MB, free: 11.16 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.0004325/0.09353, allocations: 371.3 kB / 362.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.09358, allocations: 16.02 kB / 362.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/0.09372, allocations: 16.84 kB / 362.4 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.09389, allocations: 188.2 kB / 362.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.09392, allocations: 8.375 kB / 362.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.09394, allocations: 12.34 kB / 362.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.09418, allocations: 130.2 kB / 362.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.09419, allocations: 0 / 362.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.09421, allocations: 8 kB / 362.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.09422, allocations: 0 / 362.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.09441, allocations: 67.89 kB / 362.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006218/0.09504, allocations: 0.6419 MB / 363.5 MB, free: 9.547 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.09523, allocations: 120.9 kB / 363.6 MB, free: 9.383 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.09536, allocations: 56.41 kB / 363.6 MB, free: 9.312 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.09538, allocations: 8 kB / 363.6 MB, free: 9.305 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.09542, allocations: 34.5 kB / 363.7 MB, free: 9.262 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.09542, allocations: 0 / 363.7 MB, free: 9.262 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004795/0.09591, allocations: 141.6 kB / 363.8 MB, free: 9.117 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.373e-05/0.09601, allocations: 154.2 kB / 364 MB, free: 8.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.754e-05/0.09612, allocations: 126.2 kB / 364.1 MB, free: 8.797 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.09614, allocations: 33.64 kB / 364.1 MB, free: 8.758 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.675e-05/0.09622, allocations: 104 kB / 364.2 MB, free: 8.652 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.09625, allocations: 19.8 kB / 364.2 MB, free: 8.633 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.09629, allocations: 9.719 kB / 364.2 MB, free: 8.617 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.0964, allocations: 322.8 kB / 364.6 MB, free: 8.293 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.247e-05/0.09649, allocations: 23.98 kB / 364.6 MB, free: 8.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.962e-05/0.09659, allocations: 60.27 kB / 364.6 MB, free: 8.195 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.09678, allocations: 92.2 kB / 364.7 MB, free: 8.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.09679, allocations: 0 / 364.7 MB, free: 8.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000241/0.09704, allocations: 105.5 kB / 364.8 MB, free: 7.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.09706, allocations: 4 kB / 364.8 MB, free: 7.977 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.09707, allocations: 4 kB / 364.8 MB, free: 7.973 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.09709, allocations: 3.938 kB / 364.9 MB, free: 7.969 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.314e-05/0.09719, allocations: 20.14 kB / 364.9 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.0972, allocations: 0 / 364.9 MB, free: 7.949 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.995e-05/0.09727, allocations: 19.84 kB / 364.9 MB, free: 7.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.09729, allocations: 4 kB / 364.9 MB, free: 7.926 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 8.497e-05/0.09738, allocations: 129.6 kB / 365 MB, free: 7.789 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.805e-05/0.09747, allocations: 7.938 kB / 365 MB, free: 7.781 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.746e-05/0.09751, allocations: 15.48 kB / 365 MB, free: 7.766 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.09751, allocations: 0 / 365 MB, free: 7.766 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.09753, allocations: 4 kB / 365 MB, free: 7.762 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.09754, allocations: 7.938 kB / 365.1 MB, free: 7.754 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003618/0.0979, allocations: 181.6 kB / 365.2 MB, free: 7.527 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.09791, allocations: 3.984 kB / 365.2 MB, free: 7.523 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.559e-05/0.09798, allocations: 12 kB / 365.2 MB, free: 7.512 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.09799, allocations: 0 / 365.2 MB, free: 7.512 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.09801, allocations: 4 kB / 365.3 MB, free: 7.508 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.09802, allocations: 4.125 kB / 365.3 MB, free: 7.504 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.09802, allocations: 3.984 kB / 365.3 MB, free: 7.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003557/0.09839, allocations: 0.5004 MB / 365.8 MB, free: 6.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.873e-05/0.09843, allocations: 85.02 kB / 365.8 MB, free: 6.879 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.09845, allocations: 4 kB / 365.8 MB, free: 6.875 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.09867, allocations: 11.98 kB / 365.9 MB, free: 6.863 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.09871, allocations: 7.938 kB / 365.9 MB, free: 6.855 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.09874, allocations: 7.984 kB / 365.9 MB, free: 6.848 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.235e-05/0.09879, allocations: 99.27 kB / 366 MB, free: 6.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.0988, allocations: 0 / 366 MB, free: 6.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000376/0.09918, allocations: 12 kB / 366 MB, free: 6.738 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 8.619e-05/0.09927, allocations: 99.12 kB / 366.1 MB, free: 6.633 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000231/0.09951, allocations: 72.08 kB / 366.2 MB, free: 6.562 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.09952, allocations: 0 / 366.2 MB, free: 6.562 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.09963, allocations: 39.92 kB / 366.2 MB, free: 6.523 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005019/0.1001, allocations: 7.984 kB / 366.2 MB, free: 6.516 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004254/0.1006, allocations: 258.6 kB / 366.5 MB, free: 6.219 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.1009, allocations: 0.6926 MB / 367.1 MB, free: 5.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.59e-05/0.1009, allocations: 11.44 kB / 367.2 MB, free: 5.488 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1009, allocations: 0 / 367.2 MB, free: 5.488 MB / 302.1 MB Notification: Performance of Templates: time 0.002148/0.1031, allocations: 0.8794 MB / 368 MB, free: 4.609 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