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.001807/0.001807, allocations: 112.3 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002627/0.002627, allocations: 210 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.35/2.35, allocations: 227.4 MB / 247.6 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002376/0.002376, allocations: 63.91 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4461/0.4485, allocations: 50.54 MB / 409.9 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.005385/0.454, allocations: 1.614 MB / 411.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.4555, allocations: 482.7 kB / 412 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.4557, allocations: 4 kB / 412 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.509e-05/0.4558, allocations: 11.86 kB / 412 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.456, allocations: 15.86 kB / 412 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.4564, allocations: 35.91 kB / 412.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.4566, allocations: 55.84 kB / 412.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002967/0.4569, allocations: 56.06 kB / 412.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002462/0.4572, allocations: 31.91 kB / 412.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.4573, allocations: 27.86 kB / 412.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.836e-05/0.4574, allocations: 4 kB / 412.2 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.052e-05/0.4574, allocations: 12 kB / 412.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.744e-05/0.4575, allocations: 19.91 kB / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.232e-05/0.4576, allocations: 31.8 kB / 412.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002648/0.4578, allocations: 75.66 kB / 412.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.455e-06/0.4579, allocations: 4 kB / 412.4 MB, free: 15.1 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4579, allocations: 0 / 412.4 MB, free: 15.1 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.4579, allocations: 0 / 412.4 MB, free: 15.1 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.0008789/0.4588, allocations: 380.4 kB / 412.7 MB, free: 14.69 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.472e-05/0.4589, allocations: 12.03 kB / 412.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000262/0.4591, allocations: 20.83 kB / 412.8 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003986/0.4596, allocations: 184.2 kB / 413 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.4596, allocations: 4.375 kB / 413 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.4596, allocations: 8.375 kB / 413 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003782/0.46, allocations: 122.1 kB / 413.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.4601, allocations: 4 kB / 413.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.4601, allocations: 0 / 413.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.4601, allocations: 4 kB / 413.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002943/0.4604, allocations: 55.89 kB / 413.2 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.4614, allocations: 0.6341 MB / 413.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/0.4617, allocations: 120.9 kB / 413.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/0.4619, allocations: 52.41 kB / 414 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.462, allocations: 8 kB / 414 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.887e-05/0.462, allocations: 38.5 kB / 414 MB, free: 13.24 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.944e-06/0.4621, allocations: 0 / 414 MB, free: 13.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007612/0.4628, allocations: 117.5 kB / 414.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/0.463, allocations: 166.8 kB / 414.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.4632, allocations: 129.6 kB / 414.4 MB, free: 12.78 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.4632, allocations: 29.7 kB / 414.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.469e-05/0.4633, allocations: 104 kB / 414.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.4633, allocations: 11.75 kB / 414.5 MB, free: 12.63 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.04e-05/0.4634, allocations: 17.72 kB / 414.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.4636, allocations: 322.8 kB / 414.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.4638, allocations: 19.98 kB / 414.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.464, allocations: 56.27 kB / 415 MB, free: 12.19 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003075/0.4643, allocations: 80.2 kB / 415 MB, free: 12.1 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.4643, allocations: 0 / 415 MB, free: 12.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000406/0.4647, allocations: 93.53 kB / 415.1 MB, free: 12 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.4648, allocations: 4 kB / 415.1 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.4648, allocations: 4.156 kB / 415.1 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.4648, allocations: 4 kB / 415.1 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.465, allocations: 11.98 kB / 415.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.465, allocations: 4 kB / 415.2 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.4652, allocations: 15.84 kB / 415.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.4652, allocations: 4 kB / 415.2 MB, free: 11.95 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 0.0001688/0.4654, allocations: 125.7 kB / 415.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001681/0.4655, allocations: 4 kB / 415.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.353e-05/0.4656, allocations: 19.48 kB / 415.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.4656, allocations: 3.984 kB / 415.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.4656, allocations: 0 / 415.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.4657, allocations: 7.938 kB / 415.3 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007254/0.4664, allocations: 185.7 kB / 415.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.4664, allocations: 7.984 kB / 415.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.4665, allocations: 11.94 kB / 415.5 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/0.4666, allocations: 4 kB / 415.5 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.4666, allocations: 0 / 415.5 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.4666, allocations: 4 kB / 415.5 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.4666, allocations: 3.984 kB / 415.5 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005804/0.4672, allocations: 496.4 kB / 416 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.367e-05/0.4673, allocations: 88.95 kB / 416.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/0.4674, allocations: 12 kB / 416.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004257/0.4678, allocations: 7.984 kB / 416.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.988e-05/0.4679, allocations: 7.938 kB / 416.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.4679, allocations: 0 / 416.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.151e-05/0.468, allocations: 99.27 kB / 416.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.468, allocations: 0 / 416.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007851/0.4688, allocations: 8 kB / 416.2 MB, free: 10.78 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.0001557/0.469, allocations: 99.19 kB / 416.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004192/0.4694, allocations: 63.89 kB / 416.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.4694, allocations: 0 / 416.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001777/0.4696, allocations: 32.48 kB / 416.4 MB, free: 10.58 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.4706, allocations: 17.48 kB / 416.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007155/0.4714, allocations: 228.3 kB / 416.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004747/0.4719, allocations: 0.6924 MB / 417.4 MB, free: 9.582 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.447e-05/0.4719, allocations: 11.44 kB / 417.4 MB, free: 9.57 MB / 334.1 MB Notification: Performance of SimCode: time 7.72e-07/0.472, allocations: 4 kB / 417.4 MB, free: 9.566 MB / 334.1 MB Notification: Performance of Templates: time 0.004093/0.4761, allocations: 0.8999 MB / 418.3 MB, free: 8.664 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