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.0008704/0.0008704, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.0053/0.0053, allocations: 166.4 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8914/0.8914, allocations: 158.6 MB / 186.5 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/1.988e-05, allocations: 2.281 kB / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002027/0.002047, allocations: 1.575 MB / 300 MB, free: 1.93 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008122/0.002859, allocations: 440.5 kB / 300.4 MB, free: 1.492 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.781e-05/0.002907, allocations: 0 / 300.4 MB, free: 1.492 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.565e-05/0.002942, allocations: 11.86 kB / 300.4 MB, free: 1.48 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.9e-05/0.003011, allocations: 11.88 kB / 300.5 MB, free: 1.469 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.003158, allocations: 27.91 kB / 300.5 MB, free: 1.441 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.5e-05/0.003243, allocations: 55.78 kB / 300.5 MB, free: 1.387 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.003394, allocations: 43.84 kB / 300.6 MB, free: 1.344 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.003499, allocations: 35.89 kB / 300.6 MB, free: 1.309 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.307e-05/0.003552, allocations: 19.98 kB / 300.6 MB, free: 1.289 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.003574, allocations: 4 kB / 300.6 MB, free: 1.285 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-06/0.003583, allocations: 4 kB / 300.6 MB, free: 1.281 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.834e-05/0.003602, allocations: 15.92 kB / 300.7 MB, free: 1.266 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.498e-05/0.003627, allocations: 15.92 kB / 300.7 MB, free: 1.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.00374, allocations: 71.77 kB / 300.7 MB, free: 1.18 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.003744, allocations: 4 kB / 300.7 MB, free: 1.176 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.003745, allocations: 4 kB / 300.8 MB, free: 1.172 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.00375, allocations: 0 / 300.8 MB, free: 1.172 MB / 282.7 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.0003629/0.004113, allocations: 302 kB / 301 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.004155, allocations: 15.98 kB / 301.1 MB, free: 0.832 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.144e-05/0.004186, allocations: 38.73 kB / 301.1 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.599e-05/0.004212, allocations: 8.891 kB / 301.1 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.902e-05/0.004291, allocations: 117.6 kB / 301.2 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.004314, allocations: 12.31 kB / 301.2 MB, free: 0.625 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.004325, allocations: 12.3 kB / 301.2 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.004488, allocations: 114.5 kB / 301.4 MB, free: 492 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.004496, allocations: 8.125 kB / 301.4 MB, free: 484 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.004508, allocations: 8.125 kB / 301.4 MB, free: 476 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.004513, allocations: 0 / 301.4 MB, free: 476 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.004619, allocations: 55.89 kB / 301.4 MB, free: 420 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1242/0.1289, allocations: 0.6004 MB / 302 MB, free: 15.38 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.129, allocations: 111.9 kB / 302.1 MB, free: 15.26 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.754e-05/0.1291, allocations: 50.59 kB / 302.2 MB, free: 15.22 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.1291, allocations: 5.469 kB / 302.2 MB, free: 15.22 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.1291, allocations: 43.42 kB / 302.2 MB, free: 15.18 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.174e-06/0.1291, allocations: 0.7812 kB / 302.2 MB, free: 15.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002964/0.1294, allocations: 124.2 kB / 302.4 MB, free: 15.15 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.1295, allocations: 157 kB / 302.5 MB, free: 14.96 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.146e-05/0.1295, allocations: 117.8 kB / 302.6 MB, free: 14.87 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.833e-06/0.1295, allocations: 26.83 kB / 302.7 MB, free: 14.84 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.253e-05/0.1296, allocations: 97.45 kB / 302.7 MB, free: 14.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.1296, allocations: 18.62 kB / 302.8 MB, free: 14.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.1296, allocations: 21.91 kB / 302.8 MB, free: 14.73 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.956e-05/0.1296, allocations: 320.5 kB / 303.1 MB, free: 14.42 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.295e-05/0.1297, allocations: 18.7 kB / 303.1 MB, free: 14.42 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.122e-05/0.1298, allocations: 56.3 kB / 303.2 MB, free: 14.38 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.903e-05/0.1298, allocations: 79.89 kB / 303.3 MB, free: 14.34 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1299, allocations: 4.438 kB / 303.3 MB, free: 14.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001246/0.13, allocations: 96.55 kB / 303.4 MB, free: 14.3 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.13, allocations: 9.594 kB / 303.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.13, allocations: 1.094 kB / 303.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.13, allocations: 2.109 kB / 303.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.437e-05/0.1301, allocations: 19.73 kB / 303.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.1301, allocations: 1.969 kB / 303.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.899e-05/0.1301, allocations: 11.77 kB / 303.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.1301, allocations: 3.766 kB / 303.4 MB, free: 14.29 MB / 282.7 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 4.91e-05/0.1302, allocations: 117.9 kB / 303.5 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.533e-05/0.1302, allocations: 9.062 kB / 303.5 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.302e-05/0.1303, allocations: 15.23 kB / 303.5 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1303, allocations: 2.281 kB / 303.5 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1303, allocations: 3.188 kB / 303.5 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1303, allocations: 5.188 kB / 303.5 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.1305, allocations: 156.2 kB / 303.7 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.1305, allocations: 1.719 kB / 303.7 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.148e-05/0.1306, allocations: 16.38 kB / 303.7 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1306, allocations: 5.094 kB / 303.7 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.1306, allocations: 2.969 kB / 303.7 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.1306, allocations: 1.719 kB / 303.7 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1306, allocations: 1.219 kB / 303.7 MB, free: 14 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.1307, allocations: 489.5 kB / 304.2 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.136e-05/0.1308, allocations: 13.28 kB / 304.2 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.1308, allocations: 3.234 kB / 304.2 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.1309, allocations: 11.41 kB / 304.2 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.1309, allocations: 7.047 kB / 304.2 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.1309, allocations: 2.469 kB / 304.2 MB, free: 13.57 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.256e-05/0.131, allocations: 94.09 kB / 304.3 MB, free: 13.49 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.131, allocations: 0 / 304.3 MB, free: 13.49 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002433/0.1312, allocations: 17.45 kB / 304.4 MB, free: 13.49 MB / 282.7 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.0002653/0.1315, allocations: 1.014 MB / 305.4 MB, free: 12.52 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001433/0.1316, allocations: 57.33 kB / 305.4 MB, free: 12.51 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.1316, allocations: 0 / 305.4 MB, free: 12.51 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.398e-05/0.1317, allocations: 37.55 kB / 305.5 MB, free: 12.5 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.132, allocations: 11.94 kB / 305.5 MB, free: 12.49 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005325/0.1326, allocations: 225.7 kB / 305.7 MB, free: 12.28 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.621e-05/0.1326, allocations: 82.06 kB / 305.8 MB, free: 12.21 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.495e-05/0.1327, allocations: 2.844 kB / 305.8 MB, free: 12.21 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.002e-05/0.1327, allocations: 22.2 kB / 305.8 MB, free: 12.19 MB / 282.7 MB Notification: Performance of SimCode: time 9.82e-07/0.1327, allocations: 0 / 305.8 MB, free: 12.19 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01816/0.1509, allocations: 2.317 MB / 308.1 MB, free: 11.11 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.432/7.583, allocations: 8.906 kB / 308.1 MB, free: 11.11 MB / 282.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039976 Modelica_3_2_3_Modelica_Blocks_Examples_BusUsage.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable controlBus.realSignal1 in file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.csv. Warning: Get data of variable controlBus.realSignal1 from file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.csv failed! Error: Could not read variable controlBus.integerSignal in file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.csv. Warning: Get data of variable controlBus.integerSignal from file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.csv failed! Error: Could not read variable controlBus.booleanSignal in file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.csv. Warning: Get data of variable controlBus.booleanSignal from file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.csv failed! Error: Could not read variable controlBus.subControlBus.myRealSignal in file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.csv. Warning: Get data of variable controlBus.subControlBus.myRealSignal from file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.csv failed! Error: Could not read variable controlBus.subControlBus.myBooleanSignal in file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.csv. Warning: Get data of variable controlBus.subControlBus.myBooleanSignal from file Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.366640388034284]