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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0018/0.0018, allocations: 132.4 kB / 17.8 MB, free: 5.219 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.002139/0.002139, allocations: 210.5 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 230.5 MB / 254 MB, free: 15.16 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 67.89 kB / 373 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1023, allocations: 53.38 MB / 426.3 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002857/0.1051, allocations: 1.63 MB / 428 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008567/0.106, allocations: 490.8 kB / 428.5 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.611e-05/0.106, allocations: 4 kB / 428.5 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.248e-05/0.1061, allocations: 11.86 kB / 428.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.458e-05/0.1062, allocations: 15.86 kB / 428.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.1064, allocations: 35.91 kB / 428.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.1065, allocations: 55.78 kB / 428.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.1067, allocations: 44.12 kB / 428.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.1068, allocations: 35.8 kB / 428.7 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.317e-05/0.1068, allocations: 27.86 kB / 428.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.1069, allocations: 4 kB / 428.7 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.098e-05/0.1069, allocations: 8 kB / 428.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.096e-05/0.1069, allocations: 15.92 kB / 428.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.758e-05/0.107, allocations: 39.78 kB / 428.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.1071, allocations: 75.59 kB / 428.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.1071, allocations: 0 / 428.8 MB, free: 2.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1071, allocations: 4 kB / 428.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1071, allocations: 3.938 kB / 428.8 MB, free: 2.152 MB / 350.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.0004967/0.1076, allocations: 375.2 kB / 429.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.1077, allocations: 12.03 kB / 429.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.471e-05/0.1077, allocations: 38.73 kB / 429.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/0.1078, allocations: 28.83 kB / 429.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.1081, allocations: 180.3 kB / 429.4 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.1081, allocations: 4.375 kB / 429.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.1081, allocations: 8.375 kB / 429.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.1083, allocations: 114 kB / 429.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.1083, allocations: 4 kB / 429.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.1084, allocations: 8 kB / 429.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1084, allocations: 0 / 429.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/0.1085, allocations: 55.89 kB / 429.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006761/0.1092, allocations: 0.6498 MB / 430.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.1094, allocations: 112.9 kB / 430.4 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.1095, allocations: 48.47 kB / 430.4 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.1095, allocations: 7.984 kB / 430.5 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.1096, allocations: 42.5 kB / 430.5 MB, free: 240 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.1096, allocations: 0 / 430.5 MB, free: 240 kB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004353/0.11, allocations: 117.5 kB / 430.6 MB, free: 116 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.1101, allocations: 158.8 kB / 430.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.1102, allocations: 129.8 kB / 430.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.1102, allocations: 29.7 kB / 430.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.84e-05/0.1103, allocations: 99.97 kB / 431 MB, free: 15.65 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.1103, allocations: 15.89 kB / 431 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.4e-05/0.1104, allocations: 21.72 kB / 431.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1105, allocations: 318.8 kB / 431.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.077e-05/0.1106, allocations: 15.98 kB / 431.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.901e-05/0.1107, allocations: 60.28 kB / 431.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.1109, allocations: 76.2 kB / 431.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1109, allocations: 0 / 431.5 MB, free: 15.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002284/0.1111, allocations: 101.5 kB / 431.6 MB, free: 15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.1111, allocations: 7.938 kB / 431.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.1111, allocations: 7.984 kB / 431.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.1111, allocations: 8.141 kB / 431.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.735e-05/0.1112, allocations: 8 kB / 431.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.1112, allocations: 7.938 kB / 431.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.612e-05/0.1113, allocations: 11.92 kB / 431.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.1113, allocations: 4 kB / 431.7 MB, free: 14.95 MB / 366.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 9.254e-05/0.1114, allocations: 121.8 kB / 431.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.006e-05/0.1115, allocations: 7.953 kB / 431.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.037e-05/0.1115, allocations: 15.52 kB / 431.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1115, allocations: 4 kB / 431.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.1115, allocations: 7.938 kB / 431.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.1115, allocations: 0 / 431.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003768/0.1119, allocations: 185.6 kB / 432 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1119, allocations: 0 / 432 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.898e-05/0.112, allocations: 11.98 kB / 432 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.112, allocations: 4 kB / 432 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.112, allocations: 0 / 432 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.112, allocations: 4 kB / 432 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.112, allocations: 3.938 kB / 432 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003883/0.1124, allocations: 492.5 kB / 432.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/0.1124, allocations: 85.06 kB / 432.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.1124, allocations: 8 kB / 432.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.1126, allocations: 11.98 kB / 432.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.1127, allocations: 11.92 kB / 432.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.1127, allocations: 192 / 432.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.633e-05/0.1127, allocations: 99.2 kB / 432.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1127, allocations: 0 / 432.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003693/0.1131, allocations: 12 kB / 432.7 MB, free: 13.78 MB / 366.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.0006733/0.1138, allocations: 1.018 MB / 433.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000225/0.114, allocations: 71.77 kB / 433.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.114, allocations: 0 / 433.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.1141, allocations: 31.92 kB / 433.8 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005009/0.1146, allocations: 8.562 kB / 433.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.1165, allocations: 1.771 MB / 435.6 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.1169, allocations: 0.6924 MB / 436.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.276e-05/0.1169, allocations: 0 / 436.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.794e-05/0.1169, allocations: 19.44 kB / 436.3 MB, free: 10 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1169, allocations: 0 / 436.3 MB, free: 10 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02305/0.14, allocations: 1.694 MB / 438 MB, free: 8.344 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.734/7.874, allocations: 7.297 kB / 438 MB, free: 8.34 MB / 366.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Blocks_Examples_BusUsage.fmu > Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "Error: Could not read variable controlBus.realSignal1 in file Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.csv. Warning: Get data of variable controlBus.realSignal1 from file Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.csv failed! Error: Could not read variable controlBus.integerSignal in file Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.csv. Warning: Get data of variable controlBus.integerSignal from file Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.csv failed! Error: Could not read variable controlBus.booleanSignal in file Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.csv. Warning: Get data of variable controlBus.booleanSignal from file Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.csv failed! Error: Could not read variable controlBus.subControlBus.myRealSignal in file Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.csv. Warning: Get data of variable controlBus.subControlBus.myRealSignal from file Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.csv failed! Error: Could not read variable controlBus.subControlBus.myBooleanSignal in file Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.csv. Warning: Get data of variable controlBus.subControlBus.myBooleanSignal from file Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.529831473017111]