Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001912/0.001912, allocations: 212.4 kB / 23.73 MB, free: 4.41 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|controlBus.realSignal1|controlBus.integerSignal|controlBus.booleanSignal|controlBus.subControlBus.myRealSignal|controlBus.subControlBus.myBooleanSignal",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage") translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|controlBus.realSignal1|controlBus.integerSignal|controlBus.booleanSignal|controlBus.subControlBus.myRealSignal|controlBus.subControlBus.myBooleanSignal",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 47.92 kB / 378.2 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2664, allocations: 53.35 MB / 431.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002902/0.2693, allocations: 1.599 MB / 433.2 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009181/0.2703, allocations: 462.8 kB / 433.6 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.083e-05/0.2703, allocations: 7.938 kB / 433.6 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.016e-05/0.2704, allocations: 7.922 kB / 433.6 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.011e-05/0.2705, allocations: 15.88 kB / 433.6 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.2707, allocations: 31.91 kB / 433.7 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.2708, allocations: 63.77 kB / 433.7 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001647/0.271, allocations: 35.95 kB / 433.8 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.2711, allocations: 27.92 kB / 433.8 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.769e-05/0.2712, allocations: 35.77 kB / 433.8 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.694e-05/0.2712, allocations: 4 kB / 433.8 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.308e-05/0.2712, allocations: 11.94 kB / 433.8 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.422e-05/0.2713, allocations: 15.98 kB / 433.9 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.594e-05/0.2713, allocations: 27.81 kB / 433.9 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.2715, allocations: 71.42 kB / 434 MB, free: 4.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2715, allocations: 0 / 434 MB, free: 4.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2715, allocations: 0 / 434 MB, free: 4.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.2715, allocations: 0 / 434 MB, free: 4.32 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.0005808/0.2721, allocations: 314.8 kB / 434.3 MB, free: 3.988 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.2721, allocations: 12.03 kB / 434.3 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001916/0.2723, allocations: 20.88 kB / 434.3 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.2726, allocations: 130.4 kB / 434.4 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.2726, allocations: 8.375 kB / 434.4 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.2726, allocations: 16.25 kB / 434.5 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002769/0.2729, allocations: 117.4 kB / 434.6 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.2729, allocations: 0 / 434.6 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.2729, allocations: 0 / 434.6 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.2729, allocations: 4 kB / 434.6 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001873/0.2731, allocations: 63.83 kB / 434.6 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000634/0.2737, allocations: 0.5674 MB / 435.2 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.2739, allocations: 117 kB / 435.3 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.2741, allocations: 52.41 kB / 435.4 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.868e-05/0.2741, allocations: 11.92 kB / 435.4 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.2741, allocations: 34.56 kB / 435.4 MB, free: 2.688 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.2741, allocations: 0 / 435.4 MB, free: 2.688 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004437/0.2746, allocations: 125.7 kB / 435.5 MB, free: 2.559 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.2747, allocations: 158.2 kB / 435.7 MB, free: 2.367 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.2748, allocations: 121.8 kB / 435.8 MB, free: 2.238 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.2748, allocations: 25.7 kB / 435.8 MB, free: 2.207 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.661e-05/0.2749, allocations: 100 kB / 435.9 MB, free: 2.105 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.2749, allocations: 15.89 kB / 435.9 MB, free: 2.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.054e-05/0.275, allocations: 17.72 kB / 436 MB, free: 2.066 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.2752, allocations: 327.2 kB / 436.3 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.2753, allocations: 23.98 kB / 436.3 MB, free: 1.715 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.2754, allocations: 48.28 kB / 436.4 MB, free: 1.652 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002366/0.2757, allocations: 76.2 kB / 436.4 MB, free: 1.562 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2757, allocations: 4 kB / 436.4 MB, free: 1.559 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002385/0.2759, allocations: 97.48 kB / 436.5 MB, free: 1.457 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.2759, allocations: 8 kB / 436.5 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.2759, allocations: 3.984 kB / 436.5 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.2759, allocations: 0 / 436.5 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.276, allocations: 12 kB / 436.6 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.276, allocations: 3.984 kB / 436.6 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.82e-05/0.2761, allocations: 20.08 kB / 436.6 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.2761, allocations: 11.88 kB / 436.6 MB, free: 1.398 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.0001197/0.2762, allocations: 117.8 kB / 436.7 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.723e-05/0.2763, allocations: 7.953 kB / 436.7 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.753e-05/0.2764, allocations: 19.56 kB / 436.7 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.2764, allocations: 0 / 436.7 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.2764, allocations: 4 kB / 436.7 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.2764, allocations: 0 / 436.7 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003478/0.2767, allocations: 137.1 kB / 436.9 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.2767, allocations: 4.109 kB / 436.9 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.475e-05/0.2768, allocations: 16 kB / 436.9 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.2768, allocations: 4 kB / 436.9 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.2768, allocations: 4 kB / 436.9 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.2768, allocations: 3.984 kB / 436.9 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.2768, allocations: 11.88 kB / 436.9 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000421/0.2772, allocations: 488.6 kB / 437.4 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.438e-05/0.2773, allocations: 7.953 kB / 437.4 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.2773, allocations: 4 kB / 437.4 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.2775, allocations: 4 kB / 437.4 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.027e-05/0.2775, allocations: 19.86 kB / 437.4 MB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.2776, allocations: 4 kB / 437.4 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.925e-05/0.2776, allocations: 95.64 kB / 437.5 MB, free: 412 kB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2776, allocations: 0 / 437.5 MB, free: 412 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003761/0.278, allocations: 12 kB / 437.5 MB, free: 400 kB / 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.0001158/0.2781, allocations: 99.23 kB / 437.6 MB, free: 292 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002317/0.2783, allocations: 55.91 kB / 437.7 MB, free: 236 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2783, allocations: 0 / 437.7 MB, free: 236 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.2784, allocations: 35.91 kB / 437.7 MB, free: 200 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005179/0.279, allocations: 8 kB / 437.7 MB, free: 192 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005328/0.2795, allocations: 199.5 kB / 437.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.2796, allocations: 83.27 kB / 438 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.383e-05/0.2797, allocations: 4 kB / 438 MB, free: 15.85 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.757e-05/0.2797, allocations: 7.438 kB / 438 MB, free: 15.84 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2797, allocations: 0 / 438 MB, free: 15.84 MB / 350.1 MB Notification: Performance of Templates: time 0.003165/0.2829, allocations: 0.5808 MB / 438.6 MB, free: 15.27 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.570225518196821]