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.001729/0.001729, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.0021/0.0021, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.535/1.535, allocations: 230.6 MB / 254.1 MB, free: 15.09 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: "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 47.92 kB / 373 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1076, allocations: 53.32 MB / 426.3 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002917/0.1105, allocations: 1.626 MB / 427.9 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000894/0.1114, allocations: 498.7 kB / 428.4 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.704e-05/0.1114, allocations: 4 kB / 428.4 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.037e-05/0.1115, allocations: 11.86 kB / 428.4 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.362e-05/0.1116, allocations: 11.86 kB / 428.4 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.1118, allocations: 35.91 kB / 428.5 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.1119, allocations: 59.78 kB / 428.5 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.1121, allocations: 40.19 kB / 428.6 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.1123, allocations: 35.8 kB / 428.6 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.047e-05/0.1123, allocations: 27.86 kB / 428.6 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.1123, allocations: 8 kB / 428.6 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.849e-05/0.1124, allocations: 8 kB / 428.6 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.985e-05/0.1124, allocations: 15.92 kB / 428.7 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.412e-05/0.1125, allocations: 35.78 kB / 428.7 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.1126, allocations: 75.59 kB / 428.8 MB, free: 2.387 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.1126, allocations: 4 kB / 428.8 MB, free: 2.383 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1126, allocations: 3.938 kB / 428.8 MB, free: 2.379 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1126, allocations: 0 / 428.8 MB, free: 2.379 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.0005632/0.1132, allocations: 375.2 kB / 429.1 MB, free: 1.965 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1132, allocations: 12.03 kB / 429.2 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.724e-05/0.1133, allocations: 42.67 kB / 429.2 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.1134, allocations: 24.83 kB / 429.2 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.1137, allocations: 180.3 kB / 429.4 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.1137, allocations: 8.375 kB / 429.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.1137, allocations: 4.375 kB / 429.4 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.114, allocations: 122 kB / 429.5 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.114, allocations: 0 / 429.5 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.114, allocations: 4 kB / 429.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.114, allocations: 0 / 429.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002017/0.1142, allocations: 59.89 kB / 429.6 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006729/0.1149, allocations: 0.6459 MB / 430.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000236/0.1151, allocations: 112.9 kB / 430.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.1152, allocations: 52.47 kB / 430.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.1152, allocations: 8 kB / 430.4 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.1153, allocations: 38.48 kB / 430.4 MB, free: 472 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.1153, allocations: 0 / 430.4 MB, free: 472 kB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004671/0.1157, allocations: 126 kB / 430.6 MB, free: 340 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.355e-05/0.1158, allocations: 158.2 kB / 430.7 MB, free: 144 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.1159, allocations: 125.8 kB / 430.8 MB, free: 8 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/0.116, allocations: 25.7 kB / 430.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.38e-05/0.1161, allocations: 96.09 kB / 431 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.1161, allocations: 7.906 kB / 431 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.915e-05/0.1161, allocations: 29.7 kB / 431 MB, free: 15.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.1163, allocations: 322.8 kB / 431.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.607e-05/0.1164, allocations: 19.98 kB / 431.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.1165, allocations: 52.22 kB / 431.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.1166, allocations: 80.2 kB / 431.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1166, allocations: 0 / 431.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002429/0.1169, allocations: 105.5 kB / 431.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.1169, allocations: 4 kB / 431.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1169, allocations: 4 kB / 431.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1169, allocations: 0 / 431.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.915e-05/0.117, allocations: 11.98 kB / 431.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.117, allocations: 7.938 kB / 431.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.928e-05/0.1171, allocations: 11.92 kB / 431.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.1171, allocations: 4 kB / 431.6 MB, free: 15.18 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.67e-05/0.1172, allocations: 121.9 kB / 431.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.114e-05/0.1173, allocations: 7.953 kB / 431.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.614e-05/0.1173, allocations: 15.52 kB / 431.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1173, allocations: 128 / 431.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.1174, allocations: 11.94 kB / 431.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1174, allocations: 0 / 431.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003865/0.1177, allocations: 181.6 kB / 431.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1177, allocations: 3.938 kB / 431.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.898e-05/0.1178, allocations: 15.98 kB / 432 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.1178, allocations: 4 kB / 432 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.1178, allocations: 4 kB / 432 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.1178, allocations: 4 kB / 432 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1178, allocations: 3.938 kB / 432 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004527/0.1183, allocations: 496.5 kB / 432.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.396e-05/0.1183, allocations: 85.06 kB / 432.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.1184, allocations: 4 kB / 432.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.1186, allocations: 7.984 kB / 432.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.247e-05/0.1186, allocations: 15.92 kB / 432.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.1186, allocations: 4 kB / 432.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.108e-05/0.1187, allocations: 91.7 kB / 432.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1187, allocations: 7.938 kB / 432.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003732/0.1191, allocations: 8 kB / 432.7 MB, free: 14.01 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.0008212/0.1199, allocations: 1.018 MB / 433.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002621/0.1202, allocations: 63.83 kB / 433.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1202, allocations: 0 / 433.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.1203, allocations: 32.36 kB / 433.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005071/0.1208, allocations: 12.31 kB / 433.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.1229, allocations: 1.771 MB / 435.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.1232, allocations: 0.6924 MB / 436.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.145e-05/0.1233, allocations: 0 / 436.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.412e-05/0.1233, allocations: 27.38 kB / 436.3 MB, free: 10.22 MB / 366.1 MB Notification: Performance of SimCode: time 6.02e-07/0.1233, allocations: 4 kB / 436.3 MB, free: 10.22 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02458/0.1479, allocations: 1.68 MB / 438 MB, free: 8.582 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.003/8.151, allocations: 13.98 kB / 438 MB, free: 8.574 MB / 366.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Blocks_Examples_BusUsage.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Blocks.Examples.BusUsage_res.csv. Warning: Get data of variable controlBus.realSignal1 from file Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.csv failed! Error: Could not read variable controlBus.integerSignal in file Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.csv. Warning: Get data of variable controlBus.integerSignal from file Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.csv failed! Error: Could not read variable controlBus.booleanSignal in file Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.csv. Warning: Get data of variable controlBus.booleanSignal from file Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.csv failed! Error: Could not read variable controlBus.subControlBus.myRealSignal in file Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.csv. Warning: Get data of variable controlBus.subControlBus.myRealSignal from file Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.csv failed! Error: Could not read variable controlBus.subControlBus.myBooleanSignal in file Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.csv. Warning: Get data of variable controlBus.subControlBus.myBooleanSignal from file Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.031471105001401]