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.001689/0.001689, allocations: 108.5 kB / 21.18 MB, free: 0.6992 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.002127/0.002127, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.49/1.49, allocations: 207.6 MB / 235.3 MB, free: 10.02 MB / 190.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.002151/0.002151, allocations: 63.92 kB / 347.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3582, allocations: 49.15 MB / 396.3 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.00312/0.3613, allocations: 1.603 MB / 397.9 MB, free: 7.871 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009344/0.3622, allocations: 480.2 kB / 398.4 MB, free: 7.539 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.441e-05/0.3623, allocations: 1.094 kB / 398.4 MB, free: 7.539 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.895e-05/0.3623, allocations: 10.22 kB / 398.4 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.914e-05/0.3624, allocations: 14.81 kB / 398.4 MB, free: 7.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001726/0.3626, allocations: 16.31 kB / 398.4 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.3627, allocations: 67.2 kB / 398.5 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002055/0.363, allocations: 37.77 kB / 398.5 MB, free: 7.461 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.3631, allocations: 34.19 kB / 398.6 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.3632, allocations: 31.75 kB / 398.6 MB, free: 7.422 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.3632, allocations: 5.938 kB / 398.6 MB, free: 7.422 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.528e-05/0.3632, allocations: 4.312 kB / 398.6 MB, free: 7.422 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.557e-05/0.3633, allocations: 13.2 kB / 398.6 MB, free: 7.414 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.282e-05/0.3633, allocations: 28.34 kB / 398.7 MB, free: 7.395 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.3635, allocations: 69.72 kB / 398.7 MB, free: 7.363 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3635, allocations: 0.8438 kB / 398.7 MB, free: 7.363 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3635, allocations: 5.062 kB / 398.7 MB, free: 7.359 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.3635, allocations: 0 / 398.7 MB, free: 7.359 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.0005246/0.364, allocations: 308.4 kB / 399 MB, free: 7.07 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/0.3641, allocations: 12.73 kB / 399.1 MB, free: 7.066 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.792e-05/0.3641, allocations: 43.53 kB / 399.1 MB, free: 7.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.345e-05/0.3642, allocations: 8.766 kB / 399.1 MB, free: 7.016 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.3643, allocations: 121.4 kB / 399.2 MB, free: 6.879 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.59e-05/0.3644, allocations: 1.875 kB / 399.2 MB, free: 6.879 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.3644, allocations: 7.812 kB / 399.2 MB, free: 6.875 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.3647, allocations: 115.8 kB / 399.3 MB, free: 6.781 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.3647, allocations: 0.6562 kB / 399.3 MB, free: 6.781 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.3647, allocations: 5.438 kB / 399.4 MB, free: 6.777 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.708e-05/0.3647, allocations: 6.75 kB / 399.4 MB, free: 6.773 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002254/0.3649, allocations: 61.75 kB / 399.4 MB, free: 6.754 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006531/0.3656, allocations: 0.6011 MB / 400 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.3658, allocations: 117.2 kB / 400.1 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.3659, allocations: 56.61 kB / 400.2 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.3659, allocations: 1.906 kB / 400.2 MB, free: 5.969 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.3659, allocations: 37.5 kB / 400.2 MB, free: 5.926 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.3659, allocations: 0.9062 kB / 400.2 MB, free: 5.926 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004503/0.3664, allocations: 126.9 kB / 400.4 MB, free: 5.863 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.3664, allocations: 164.8 kB / 400.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.372e-05/0.3665, allocations: 123.8 kB / 400.6 MB, free: 5.555 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.3665, allocations: 26.92 kB / 400.7 MB, free: 5.523 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.973e-05/0.3666, allocations: 95.25 kB / 400.8 MB, free: 5.434 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.3666, allocations: 22 kB / 400.8 MB, free: 5.414 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.3666, allocations: 21.92 kB / 400.8 MB, free: 5.395 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.315e-05/0.3667, allocations: 318.2 kB / 401.1 MB, free: 5.078 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.392e-05/0.3668, allocations: 17.25 kB / 401.1 MB, free: 5.078 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.542e-05/0.3669, allocations: 53.14 kB / 401.2 MB, free: 5.031 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.367, allocations: 77.94 kB / 401.3 MB, free: 4.977 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3671, allocations: 0 / 401.3 MB, free: 4.977 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002207/0.3673, allocations: 104.9 kB / 401.4 MB, free: 4.918 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.3673, allocations: 6.281 kB / 401.4 MB, free: 4.918 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3673, allocations: 1.062 kB / 401.4 MB, free: 4.918 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.3673, allocations: 3.141 kB / 401.4 MB, free: 4.918 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.3674, allocations: 16.05 kB / 401.4 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.3674, allocations: 5.25 kB / 401.4 MB, free: 4.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.598e-05/0.3675, allocations: 11.83 kB / 401.4 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.3675, allocations: 3.562 kB / 401.4 MB, free: 4.906 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 7.872e-05/0.3676, allocations: 118.1 kB / 401.5 MB, free: 4.785 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.976e-05/0.3677, allocations: 8.703 kB / 401.5 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.198e-05/0.3677, allocations: 15.88 kB / 401.5 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3677, allocations: 1.375 kB / 401.5 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.3677, allocations: 6.625 kB / 401.5 MB, free: 4.762 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.3677, allocations: 2.203 kB / 401.5 MB, free: 4.762 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003432/0.3681, allocations: 155.2 kB / 401.7 MB, free: 4.594 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3681, allocations: 9.562 kB / 401.7 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.738e-05/0.3682, allocations: 12.08 kB / 401.7 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.3682, allocations: 1.281 kB / 401.7 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.3682, allocations: 3.109 kB / 401.7 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.3682, allocations: 9.734 kB / 401.7 MB, free: 4.578 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3682, allocations: 9.375 kB / 401.7 MB, free: 4.57 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002872/0.3685, allocations: 490.6 kB / 402.2 MB, free: 4.121 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.32e-05/0.3685, allocations: 11.33 kB / 402.2 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.3685, allocations: 4.531 kB / 402.2 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.3687, allocations: 12.69 kB / 402.3 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.3687, allocations: 19.41 kB / 402.3 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.3688, allocations: 2.906 kB / 402.3 MB, free: 4.094 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.609e-05/0.3688, allocations: 95.16 kB / 402.4 MB, free: 4.012 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3688, allocations: 0 / 402.4 MB, free: 4.012 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003823/0.3692, allocations: 14.3 kB / 402.4 MB, free: 4.008 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.0004592/0.3696, allocations: 1.008 MB / 403.4 MB, free: 3.031 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002361/0.3699, allocations: 65.38 kB / 403.5 MB, free: 3.012 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3699, allocations: 0 / 403.5 MB, free: 3.012 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.81e-05/0.37, allocations: 37.64 kB / 403.5 MB, free: 3 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005172/0.3705, allocations: 3.078 kB / 403.5 MB, free: 3 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007498/0.3712, allocations: 246.3 kB / 403.7 MB, free: 2.766 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001655/0.3714, allocations: 0.6903 MB / 404.4 MB, free: 2.07 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.73e-05/0.3714, allocations: 2.156 kB / 404.4 MB, free: 2.07 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.347e-05/0.3715, allocations: 20.48 kB / 404.4 MB, free: 2.055 MB / 318.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3715, allocations: 0 / 404.4 MB, free: 2.055 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03006/0.4015, allocations: 1.789 MB / 406.2 MB, free: 1.438 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.78, allocations: 5.891 kB / 406.2 MB, free: 1.434 MB / 318.1 MB " [Timeout remaining time 648] (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: 14.460382942997967]