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.001596/0.001596, allocations: 117.2 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001152/0.001152, allocations: 206.7 kB / 19.41 MB, free: 3.652 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.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 67.88 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2564, 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.002599/0.259, allocations: 1.602 MB / 411.5 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000795/0.2598, allocations: 494.7 kB / 412 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.175e-05/0.2599, allocations: 0 / 412 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.663e-05/0.26, allocations: 15.88 kB / 412 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.2601, allocations: 11.86 kB / 412 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001975/0.2603, allocations: 35.89 kB / 412.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000109/0.2604, allocations: 55.84 kB / 412.1 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.2606, allocations: 52.12 kB / 412.2 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.2607, allocations: 35.86 kB / 412.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.632e-05/0.2608, allocations: 27.84 kB / 412.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.2609, allocations: 12 kB / 412.2 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.401e-05/0.2609, allocations: 8 kB / 412.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.823e-05/0.2609, allocations: 15.92 kB / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.659e-05/0.261, allocations: 31.75 kB / 412.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.2611, allocations: 75.7 kB / 412.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.2611, allocations: 0 / 412.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2611, allocations: 3.938 kB / 412.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.2612, allocations: 0 / 412.4 MB, free: 15.11 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.0004913/0.2616, allocations: 386.6 kB / 412.8 MB, free: 14.69 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.2617, allocations: 12.03 kB / 412.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.2618, allocations: 20.83 kB / 412.8 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.262, allocations: 184.2 kB / 413 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.2621, allocations: 4.375 kB / 413 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.2621, allocations: 8.375 kB / 413 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/0.2623, allocations: 118.2 kB / 413.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.2624, allocations: 0 / 413.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.2624, allocations: 4 kB / 413.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.2624, allocations: 0 / 413.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001812/0.2626, allocations: 59.89 kB / 413.2 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006374/0.2632, allocations: 0.638 MB / 413.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.2634, allocations: 117 kB / 413.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.2635, allocations: 60.33 kB / 414 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.2635, allocations: 0 / 414 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.2636, allocations: 42.5 kB / 414 MB, free: 13.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.083e-06/0.2636, allocations: 0 / 414 MB, free: 13.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005176/0.2641, allocations: 118.1 kB / 414.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/0.2642, allocations: 158.2 kB / 414.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.2643, allocations: 129.7 kB / 414.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.2643, allocations: 25.7 kB / 414.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.289e-05/0.2644, allocations: 96.05 kB / 414.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.771e-05/0.2644, allocations: 19.73 kB / 414.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.2645, allocations: 17.72 kB / 414.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.2646, allocations: 322.8 kB / 414.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.375e-05/0.2647, allocations: 23.98 kB / 414.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.118e-05/0.2648, allocations: 52.22 kB / 415 MB, free: 12.2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.265, allocations: 80.2 kB / 415 MB, free: 12.11 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.265, allocations: 0 / 415 MB, free: 12.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002256/0.2652, allocations: 89.59 kB / 415.1 MB, free: 12.01 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.2652, allocations: 16.08 kB / 415.1 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2652, allocations: 4 kB / 415.1 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.2653, allocations: 4 kB / 415.1 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.359e-05/0.2654, allocations: 12 kB / 415.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.2654, allocations: 0 / 415.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.003e-05/0.2654, allocations: 15.83 kB / 415.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.2655, allocations: 4 kB / 415.2 MB, free: 11.96 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 8.31e-05/0.2655, allocations: 121.7 kB / 415.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.341e-05/0.2656, allocations: 7.984 kB / 415.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.034e-05/0.2657, allocations: 23.47 kB / 415.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2657, allocations: 0 / 415.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2657, allocations: 4 kB / 415.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.561e-05/0.2657, allocations: 88.89 kB / 415.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.2658, allocations: 8.125 kB / 415.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.266, allocations: 11.98 kB / 415.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.2661, allocations: 11.92 kB / 415.4 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003722/0.2664, allocations: 493.9 kB / 415.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003493/0.2668, allocations: 0.5546 MB / 416.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001005/0.2669, allocations: 31.91 kB / 416.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.307e-05/0.267, allocations: 95.66 kB / 416.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of Backend: time 2.1e-07/0.267, allocations: 0 / 416.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007229/0.2677, allocations: 117.9 kB / 416.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of SimCode: time 0.0004858/0.2682, allocations: 0.6012 MB / 417.3 MB, free: 9.695 MB / 334.1 MB Notification: Performance of Templates: time 0.002854/0.2711, allocations: 0.7742 MB / 418.1 MB, free: 8.922 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