Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0019/0.0019, allocations: 81.42 kB / 21.99 MB, free: 5.184 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.002323/0.002323, allocations: 161.8 kB / 25.25 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.346/1.346, allocations: 158.6 MB / 187 MB, free: 6.488 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Blocks.Examples.BusUsage") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 55.92 kB / 299.4 MB, free: 6.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2239, allocations: 49.15 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.00288/0.2267, allocations: 1.569 MB / 350.1 MB, free: 13.94 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007674/0.2275, allocations: 437.3 kB / 350.5 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.978e-05/0.2276, allocations: 4 kB / 350.5 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.851e-05/0.2276, allocations: 7.875 kB / 350.5 MB, free: 13.49 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.325e-05/0.2277, allocations: 19.84 kB / 350.5 MB, free: 13.47 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001422/0.2278, allocations: 19.92 kB / 350.5 MB, free: 13.45 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.2279, allocations: 63.78 kB / 350.6 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.2281, allocations: 35.62 kB / 350.6 MB, free: 13.36 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.946e-05/0.2282, allocations: 35.8 kB / 350.7 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.468e-05/0.2282, allocations: 23.84 kB / 350.7 MB, free: 13.3 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.2283, allocations: 8 kB / 350.7 MB, free: 13.29 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.346e-05/0.2283, allocations: 4 kB / 350.7 MB, free: 13.29 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.284e-05/0.2283, allocations: 15.94 kB / 350.7 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.612e-05/0.2284, allocations: 19.86 kB / 350.7 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.2285, allocations: 71.44 kB / 350.8 MB, free: 13.19 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2285, allocations: 0 / 350.8 MB, free: 13.19 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2285, allocations: 3.938 kB / 350.8 MB, free: 13.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.2285, allocations: 0 / 350.8 MB, free: 13.18 MB / 318.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.0004873/0.229, allocations: 304.9 kB / 351.1 MB, free: 12.86 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.229, allocations: 12.03 kB / 351.1 MB, free: 12.85 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.869e-05/0.229, allocations: 12.89 kB / 351.1 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.2292, allocations: 130.3 kB / 351.3 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.2292, allocations: 384 / 351.3 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.2292, allocations: 16.36 kB / 351.3 MB, free: 12.67 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.2294, allocations: 122.2 kB / 351.4 MB, free: 12.53 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.2295, allocations: 3.938 kB / 351.4 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.2295, allocations: 0 / 351.4 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.2295, allocations: 4 kB / 351.4 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.2297, allocations: 51.89 kB / 351.5 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000621/0.2303, allocations: 0.5753 MB / 352 MB, free: 11.85 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.2305, allocations: 117.1 kB / 352.2 MB, free: 11.69 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.2306, allocations: 52.28 kB / 352.2 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.2306, allocations: 3.984 kB / 352.2 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.2306, allocations: 38.56 kB / 352.2 MB, free: 11.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.2306, allocations: 0 / 352.2 MB, free: 11.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.000446/0.2311, allocations: 125.6 kB / 352.4 MB, free: 11.44 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.2312, allocations: 158.2 kB / 352.5 MB, free: 11.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.2313, allocations: 121.7 kB / 352.6 MB, free: 11.12 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.2313, allocations: 33.7 kB / 352.7 MB, free: 11.08 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.816e-05/0.2314, allocations: 92.09 kB / 352.8 MB, free: 10.99 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.2314, allocations: 19.83 kB / 352.8 MB, free: 10.97 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.2315, allocations: 25.7 kB / 352.8 MB, free: 10.94 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.2316, allocations: 314.8 kB / 353.1 MB, free: 10.62 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.633e-05/0.2317, allocations: 28.41 kB / 353.1 MB, free: 10.59 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.2318, allocations: 52.22 kB / 353.2 MB, free: 10.53 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.232, allocations: 84.14 kB / 353.3 MB, free: 10.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.232, allocations: 0 / 353.3 MB, free: 10.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002286/0.2322, allocations: 101.5 kB / 353.4 MB, free: 10.32 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.2322, allocations: 4 kB / 353.4 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2322, allocations: 0 / 353.4 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.2323, allocations: 4 kB / 353.4 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.2324, allocations: 15.92 kB / 353.4 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.2324, allocations: 0 / 353.4 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.911e-05/0.2324, allocations: 16.14 kB / 353.4 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.2324, allocations: 3.938 kB / 353.4 MB, free: 10.28 MB / 318.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.0001003/0.2325, allocations: 117.8 kB / 353.5 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.814e-05/0.2326, allocations: 7.953 kB / 353.5 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.131e-05/0.2327, allocations: 15.56 kB / 353.6 MB, free: 10.13 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.2327, allocations: 4 kB / 353.6 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2327, allocations: 0 / 353.6 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2327, allocations: 0 / 353.6 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003372/0.233, allocations: 129.2 kB / 353.7 MB, free: 9.969 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.233, allocations: 128 / 353.7 MB, free: 9.969 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.427e-05/0.2331, allocations: 27.86 kB / 353.7 MB, free: 9.941 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.2331, allocations: 4 kB / 353.7 MB, free: 9.938 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/0.2331, allocations: 0 / 353.7 MB, free: 9.938 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.2331, allocations: 4 kB / 353.7 MB, free: 9.934 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2331, allocations: 0 / 353.7 MB, free: 9.934 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004076/0.2335, allocations: 492.5 kB / 354.2 MB, free: 9.434 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.498e-05/0.2335, allocations: 11.94 kB / 354.2 MB, free: 9.422 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.2335, allocations: 3.938 kB / 354.2 MB, free: 9.418 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.2338, allocations: 8 kB / 354.2 MB, free: 9.41 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.2338, allocations: 15.92 kB / 354.2 MB, free: 9.395 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.2338, allocations: 4 kB / 354.2 MB, free: 9.391 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.576e-05/0.2339, allocations: 91.27 kB / 354.3 MB, free: 9.301 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2339, allocations: 0 / 354.3 MB, free: 9.301 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003927/0.2343, allocations: 15.94 kB / 354.4 MB, free: 9.285 MB / 318.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 9.341e-05/0.2343, allocations: 99.19 kB / 354.4 MB, free: 9.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002258/0.2346, allocations: 59.95 kB / 354.5 MB, free: 9.121 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2346, allocations: 3.938 kB / 354.5 MB, free: 9.117 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.572e-05/0.2347, allocations: 27.98 kB / 354.5 MB, free: 9.09 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005165/0.2352, allocations: 8 kB / 354.5 MB, free: 9.082 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004522/0.2356, allocations: 210.6 kB / 354.8 MB, free: 8.836 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.2357, allocations: 79.88 kB / 354.8 MB, free: 8.738 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.977e-05/0.2358, allocations: 4 kB / 354.8 MB, free: 8.734 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/0.2358, allocations: 12.5 kB / 354.8 MB, free: 8.723 MB / 318.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2358, allocations: 0 / 354.8 MB, free: 8.723 MB / 318.1 MB Notification: Performance of Templates: time 0.002817/0.2386, allocations: 0.5391 MB / 355.4 MB, free: 8.18 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.285772659932263]