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.001339/0.001339, allocations: 115.5 kB / 18.45 MB, free: 4.609 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.001392/0.001392, allocations: 215.3 kB / 21.41 MB, free: 1.648 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.485/1.485, allocations: 207.6 MB / 231.8 MB, free: 4.02 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: "" <> 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: 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.001836/0.001836, allocations: 47.94 kB / 342.3 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1132, allocations: 49.13 MB / 391.4 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003023/0.1162, allocations: 1.595 MB / 393 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008035/0.117, allocations: 467.5 kB / 393.5 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.827e-05/0.1171, allocations: 0 / 393.5 MB, free: 6.645 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.09e-05/0.1171, allocations: 11.88 kB / 393.5 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.219e-05/0.1172, allocations: 11.86 kB / 393.5 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.1174, allocations: 27.97 kB / 393.5 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.1175, allocations: 63.72 kB / 393.6 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.1176, allocations: 31.92 kB / 393.6 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.1177, allocations: 31.84 kB / 393.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.647e-05/0.1178, allocations: 35.78 kB / 393.7 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.1178, allocations: 4 kB / 393.7 MB, free: 6.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.67e-05/0.1178, allocations: 8 kB / 393.7 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.663e-05/0.1179, allocations: 11.98 kB / 393.7 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.993e-05/0.1179, allocations: 27.81 kB / 393.7 MB, free: 6.383 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.1181, allocations: 75.64 kB / 393.8 MB, free: 6.309 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1181, allocations: 4 kB / 393.8 MB, free: 6.305 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1181, allocations: 0 / 393.8 MB, free: 6.305 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1181, allocations: 0 / 393.8 MB, free: 6.305 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.0005969/0.1187, allocations: 383.1 kB / 394.2 MB, free: 5.883 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.1187, allocations: 8.031 kB / 394.2 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.025e-05/0.1188, allocations: 34.75 kB / 394.2 MB, free: 5.832 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.813e-05/0.1188, allocations: 8.891 kB / 394.2 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.119, allocations: 180.2 kB / 394.4 MB, free: 5.609 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.119, allocations: 8.375 kB / 394.4 MB, free: 5.602 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.119, allocations: 8.375 kB / 394.4 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.1193, allocations: 110.1 kB / 394.5 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1193, allocations: 3.938 kB / 394.5 MB, free: 5.461 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.1193, allocations: 4 kB / 394.5 MB, free: 5.457 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1193, allocations: 4 kB / 394.5 MB, free: 5.453 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002099/0.1195, allocations: 59.89 kB / 394.6 MB, free: 5.395 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007746/0.1203, allocations: 0.6342 MB / 395.2 MB, free: 4.695 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.1205, allocations: 112.9 kB / 395.3 MB, free: 4.539 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.1206, allocations: 56.41 kB / 395.4 MB, free: 4.469 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.1206, allocations: 0 / 395.4 MB, free: 4.469 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.1207, allocations: 34.56 kB / 395.4 MB, free: 4.426 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 3.557e-06/0.1207, allocations: 3.984 kB / 395.4 MB, free: 4.422 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004792/0.1211, allocations: 133.4 kB / 395.6 MB, free: 4.285 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.1213, allocations: 158.2 kB / 395.7 MB, free: 4.094 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.1214, allocations: 121.6 kB / 395.8 MB, free: 3.965 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.1214, allocations: 26.33 kB / 395.9 MB, free: 3.934 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.836e-05/0.1215, allocations: 112 kB / 396 MB, free: 3.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.1215, allocations: 11.91 kB / 396 MB, free: 3.809 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.1215, allocations: 21.7 kB / 396 MB, free: 3.781 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1217, allocations: 314.8 kB / 396.3 MB, free: 3.465 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.288e-05/0.1218, allocations: 23.98 kB / 396.3 MB, free: 3.441 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.1219, allocations: 56.27 kB / 396.4 MB, free: 3.371 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.1221, allocations: 84.14 kB / 396.5 MB, free: 3.273 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1221, allocations: 0 / 396.5 MB, free: 3.273 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002295/0.1223, allocations: 93.55 kB / 396.6 MB, free: 3.176 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1223, allocations: 8 kB / 396.6 MB, free: 3.168 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1223, allocations: 0 / 396.6 MB, free: 3.168 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.1224, allocations: 4 kB / 396.6 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.1225, allocations: 19.92 kB / 396.6 MB, free: 3.145 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.1225, allocations: 3.938 kB / 396.6 MB, free: 3.141 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.83e-05/0.1225, allocations: 16.09 kB / 396.6 MB, free: 3.125 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.1225, allocations: 3.984 kB / 396.6 MB, free: 3.121 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.0001093/0.1227, allocations: 117.8 kB / 396.7 MB, free: 2.996 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.883e-05/0.1227, allocations: 7.891 kB / 396.7 MB, free: 2.988 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.1228, allocations: 11.53 kB / 396.7 MB, free: 2.977 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.1228, allocations: 4 kB / 396.7 MB, free: 2.973 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.1228, allocations: 3.938 kB / 396.8 MB, free: 2.969 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1228, allocations: 0 / 396.8 MB, free: 2.969 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004091/0.1232, allocations: 189.6 kB / 396.9 MB, free: 2.734 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1232, allocations: 0 / 396.9 MB, free: 2.734 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.878e-05/0.1233, allocations: 19.92 kB / 397 MB, free: 2.715 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1233, allocations: 0 / 397 MB, free: 2.715 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1233, allocations: 4 kB / 397 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1233, allocations: 0 / 397 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.1233, allocations: 7.922 kB / 397 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004529/0.1237, allocations: 496.5 kB / 397.5 MB, free: 2.199 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.725e-05/0.1238, allocations: 85.06 kB / 397.5 MB, free: 2.098 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.1238, allocations: 4 kB / 397.5 MB, free: 2.094 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002127/0.124, allocations: 8.188 kB / 397.5 MB, free: 2.086 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.66e-05/0.1241, allocations: 15.92 kB / 397.6 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.1241, allocations: 15.94 kB / 397.6 MB, free: 2.055 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.269e-05/0.1242, allocations: 91.27 kB / 397.7 MB, free: 1.965 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1242, allocations: 0 / 397.7 MB, free: 1.965 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003713/0.1245, allocations: 8 kB / 397.7 MB, free: 1.957 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 0.0007581/0.1253, allocations: 1.014 MB / 398.7 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000261/0.1256, allocations: 71.95 kB / 398.8 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1256, allocations: 0 / 398.8 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.1257, allocations: 27.92 kB / 398.8 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005021/0.1262, allocations: 16.69 kB / 398.8 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007184/0.1269, allocations: 240.5 kB / 399 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.1272, allocations: 0.6885 MB / 399.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.591e-05/0.1273, allocations: 7.984 kB / 399.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.881e-05/0.1273, allocations: 15.44 kB / 399.8 MB, free: 15.78 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1273, allocations: 0 / 399.8 MB, free: 15.78 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02541/0.1527, allocations: 1.67 MB / 401.4 MB, free: 14.05 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.943/8.096, allocations: 23.83 kB / 401.4 MB, free: 14.02 MB / 334.1 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/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] "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: 10.626572205001139]