Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001363/0.001363, allocations: 117 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0015/0.0015, allocations: 209.3 kB / 24.47 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.476/1.476, allocations: 230.5 MB / 258.1 MB, free: 8.145 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-beta.om/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=5003,variableFilter="time|controlBus.realSignal1|controlBus.integerSignal|controlBus.booleanSignal|controlBus.subControlBus.myRealSignal|controlBus.subControlBus.myBooleanSignal",fileNamePrefix="Modelica_4.1.0-beta.om_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-beta.om_Modelica.Blocks.Examples.BusUsage") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 71.83 kB / 378.7 MB, free: 2.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3214, allocations: 53.3 MB / 432 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003221/0.3247, allocations: 1.63 MB / 433.7 MB, free: 5.777 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009198/0.3256, allocations: 0.4908 MB / 434.1 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.081e-05/0.3256, allocations: 0 / 434.1 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.859e-05/0.3257, allocations: 15.86 kB / 434.2 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.582e-05/0.3258, allocations: 11.88 kB / 434.2 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.326, allocations: 31.91 kB / 434.2 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.3261, allocations: 59.83 kB / 434.3 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.3263, allocations: 36.16 kB / 434.3 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.3265, allocations: 35.84 kB / 434.3 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.337e-05/0.3265, allocations: 27.84 kB / 434.4 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.3266, allocations: 8 kB / 434.4 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.147e-05/0.3266, allocations: 12 kB / 434.4 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.773e-05/0.3266, allocations: 11.92 kB / 434.4 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.163e-05/0.3267, allocations: 27.81 kB / 434.4 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.3268, allocations: 81.19 kB / 434.5 MB, free: 4.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.3268, allocations: 3.938 kB / 434.5 MB, free: 4.926 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3268, allocations: 0 / 434.5 MB, free: 4.926 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.3269, allocations: 0 / 434.5 MB, free: 4.926 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.0005693/0.3274, allocations: 383.1 kB / 434.9 MB, free: 4.504 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.3275, allocations: 12.03 kB / 434.9 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.3276, allocations: 20.83 kB / 434.9 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.3279, allocations: 188.2 kB / 435.1 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.3279, allocations: 4.375 kB / 435.1 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.3279, allocations: 8.375 kB / 435.1 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.3282, allocations: 122.2 kB / 435.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.3282, allocations: 0 / 435.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.3282, allocations: 7.984 kB / 435.2 MB, free: 4.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3282, allocations: 4 kB / 435.2 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001925/0.3284, allocations: 55.91 kB / 435.3 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007205/0.3291, allocations: 0.6342 MB / 435.9 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.3293, allocations: 113.1 kB / 436 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.3294, allocations: 56.25 kB / 436.1 MB, free: 3.105 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.3294, allocations: 4 kB / 436.1 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.3295, allocations: 38.5 kB / 436.1 MB, free: 3.055 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.3295, allocations: 0 / 436.1 MB, free: 3.055 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004536/0.3299, allocations: 121.5 kB / 436.3 MB, free: 2.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.3301, allocations: 162.2 kB / 436.4 MB, free: 2.734 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.3302, allocations: 134.3 kB / 436.5 MB, free: 2.594 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.3302, allocations: 25.7 kB / 436.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.611e-05/0.3303, allocations: 100.1 kB / 436.7 MB, free: 2.461 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.3303, allocations: 15.84 kB / 436.7 MB, free: 2.445 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.487e-05/0.3304, allocations: 25.66 kB / 436.7 MB, free: 2.414 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3305, allocations: 322.8 kB / 437 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.407e-05/0.3306, allocations: 19.98 kB / 437 MB, free: 2.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.711e-05/0.3307, allocations: 56.28 kB / 437.1 MB, free: 2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.3309, allocations: 84.19 kB / 437.2 MB, free: 1.902 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3309, allocations: 0 / 437.2 MB, free: 1.902 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002265/0.3311, allocations: 97.48 kB / 437.3 MB, free: 1.801 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.3311, allocations: 10.81 kB / 437.3 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3311, allocations: 0 / 437.3 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.3311, allocations: 0 / 437.3 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.3312, allocations: 15.98 kB / 437.3 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3313, allocations: 4.156 kB / 437.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.876e-05/0.3313, allocations: 11.94 kB / 437.3 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.3313, allocations: 4 kB / 437.3 MB, free: 1.758 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.000112/0.3314, allocations: 117.8 kB / 437.4 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.962e-05/0.3315, allocations: 7.953 kB / 437.4 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/0.3316, allocations: 19.42 kB / 437.5 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3316, allocations: 0 / 437.5 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3316, allocations: 4 kB / 437.5 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3316, allocations: 7.938 kB / 437.5 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003963/0.332, allocations: 189.6 kB / 437.7 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.332, allocations: 0 / 437.7 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.204e-05/0.3321, allocations: 15.98 kB / 437.7 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3321, allocations: 0 / 437.7 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.3321, allocations: 0 / 437.7 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3321, allocations: 4 kB / 437.7 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3321, allocations: 3.984 kB / 437.7 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000448/0.3325, allocations: 0.4887 MB / 438.2 MB, free: 0.832 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.29e-05/0.3326, allocations: 89.05 kB / 438.3 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.3326, allocations: 8 kB / 438.3 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.3328, allocations: 4.188 kB / 438.3 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.3329, allocations: 15.92 kB / 438.3 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.3329, allocations: 8 kB / 438.3 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.18e-05/0.3329, allocations: 95.27 kB / 438.4 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3329, allocations: 0 / 438.4 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003591/0.3333, allocations: 8 kB / 438.4 MB, free: 0.5898 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.000121/0.3334, allocations: 99.19 kB / 438.5 MB, free: 492 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002389/0.3336, allocations: 67.83 kB / 438.6 MB, free: 424 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3336, allocations: 0 / 438.6 MB, free: 424 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.3337, allocations: 31.92 kB / 438.6 MB, free: 392 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004913/0.3342, allocations: 6.672 kB / 438.6 MB, free: 388 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004855/0.3347, allocations: 248.8 kB / 438.8 MB, free: 96 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.3351, allocations: 0.6885 MB / 439.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.021e-05/0.3352, allocations: 11.44 kB / 439.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3352, allocations: 0 / 439.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of Templates: time 0.002614/0.3378, allocations: 0.891 MB / 440.4 MB, free: 14.47 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.026384353172034]