Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 112 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 184.6 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.BusUsage,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_BusUsage",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 43.92 kB / 370.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.306, allocations: 52.19 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003976/0.31, allocations: 1.602 MB / 424.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009333/0.3109, allocations: 434.9 kB / 424.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.837e-05/0.311, allocations: 0 / 424.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.442e-05/0.3111, allocations: 11.88 kB / 424.7 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.846e-05/0.3112, allocations: 15.86 kB / 424.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001546/0.3113, allocations: 15.98 kB / 424.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.3115, allocations: 63.77 kB / 424.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001899/0.3116, allocations: 39.86 kB / 424.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.3118, allocations: 27.86 kB / 424.8 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.94e-05/0.3118, allocations: 35.83 kB / 424.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.3119, allocations: 4 kB / 424.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.73e-05/0.3119, allocations: 8 kB / 424.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.919e-05/0.3119, allocations: 15.88 kB / 424.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.918e-05/0.312, allocations: 31.8 kB / 424.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.3121, allocations: 63.58 kB / 425 MB, free: 12.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3121, allocations: 4 kB / 425 MB, free: 12.22 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3121, allocations: 0 / 425 MB, free: 12.22 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.3121, allocations: 4 kB / 425 MB, free: 12.22 MB / 334.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.0006231/0.3128, allocations: 306.5 kB / 425.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.3128, allocations: 8.031 kB / 425.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.961e-05/0.3129, allocations: 42.73 kB / 425.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.657e-05/0.3129, allocations: 8.891 kB / 425.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.313, allocations: 110.5 kB / 425.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.233e-05/0.3131, allocations: 16.06 kB / 425.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.3131, allocations: 4 kB / 425.5 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.3134, allocations: 117.8 kB / 425.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.3134, allocations: 4 kB / 425.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.3134, allocations: 4 kB / 425.6 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.3134, allocations: 0 / 425.6 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00026/0.3137, allocations: 55.89 kB / 425.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009295/0.3146, allocations: 0.6176 MB / 426.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.3149, allocations: 116.9 kB / 426.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.3151, allocations: 52.41 kB / 426.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.3151, allocations: 8 kB / 426.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.3151, allocations: 34.56 kB / 426.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.3151, allocations: 0 / 426.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007035/0.3158, allocations: 129.6 kB / 426.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.316, allocations: 162.2 kB / 426.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.3161, allocations: 117.8 kB / 426.9 MB, free: 10.07 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.3161, allocations: 25.7 kB / 426.9 MB, free: 10.04 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.084e-05/0.3162, allocations: 100.1 kB / 427 MB, free: 9.938 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.447e-05/0.3162, allocations: 20.23 kB / 427 MB, free: 9.918 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.707e-05/0.3163, allocations: 29.7 kB / 427 MB, free: 9.883 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001956/0.3165, allocations: 314.8 kB / 427.4 MB, free: 9.566 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.3166, allocations: 19.98 kB / 427.4 MB, free: 9.547 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.3168, allocations: 52.27 kB / 427.4 MB, free: 9.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.3171, allocations: 84.2 kB / 427.5 MB, free: 9.383 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3171, allocations: 0 / 427.5 MB, free: 9.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003728/0.3174, allocations: 101.5 kB / 427.6 MB, free: 9.277 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3175, allocations: 4 kB / 427.6 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3175, allocations: 0 / 427.6 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.3175, allocations: 7.938 kB / 427.6 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.3176, allocations: 11.98 kB / 427.6 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.3176, allocations: 7.938 kB / 427.6 MB, free: 9.246 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.3177, allocations: 7.953 kB / 427.6 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.3177, allocations: 8.141 kB / 427.7 MB, free: 9.23 MB / 334.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.0001228/0.3179, allocations: 121.8 kB / 427.8 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/0.318, allocations: 4 kB / 427.8 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.131e-05/0.3181, allocations: 11.56 kB / 427.8 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.3181, allocations: 4 kB / 427.8 MB, free: 9.078 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3181, allocations: 0 / 427.8 MB, free: 9.078 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.3181, allocations: 0 / 427.8 MB, free: 9.078 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006944/0.3188, allocations: 160.7 kB / 427.9 MB, free: 8.879 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3188, allocations: 4 kB / 427.9 MB, free: 8.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.963e-05/0.3189, allocations: 19.92 kB / 428 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.3189, allocations: 0 / 428 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.3189, allocations: 11.94 kB / 428 MB, free: 8.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.146e-06/0.3189, allocations: 3.984 kB / 428 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.3189, allocations: 7.938 kB / 428 MB, free: 8.832 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005811/0.3195, allocations: 492.6 kB / 428.5 MB, free: 8.332 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.226e-05/0.3195, allocations: 11.89 kB / 428.5 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.3196, allocations: 3.938 kB / 428.5 MB, free: 8.316 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000412/0.32, allocations: 8.188 kB / 428.5 MB, free: 8.309 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.084e-05/0.32, allocations: 15.92 kB / 428.5 MB, free: 8.293 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.3201, allocations: 4 kB / 428.5 MB, free: 8.289 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.621e-05/0.3201, allocations: 95.27 kB / 428.6 MB, free: 8.195 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3201, allocations: 0 / 428.6 MB, free: 8.195 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000746/0.3209, allocations: 12 kB / 428.6 MB, free: 8.184 MB / 334.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.0009697/0.3219, allocations: 1.018 MB / 429.6 MB, free: 7.137 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003125/0.3222, allocations: 51.91 kB / 429.7 MB, free: 7.086 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.3222, allocations: 8.312 kB / 429.7 MB, free: 7.078 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.3223, allocations: 31.91 kB / 429.7 MB, free: 7.047 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.3233, allocations: 8 kB / 429.7 MB, free: 7.039 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.3245, allocations: 232.8 kB / 430 MB, free: 6.762 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004649/0.325, allocations: 0.6961 MB / 430.7 MB, free: 6.039 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.763e-05/0.325, allocations: 0 / 430.7 MB, free: 6.039 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.666e-05/0.3251, allocations: 23.44 kB / 430.7 MB, free: 6.016 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3251, allocations: 0 / 430.7 MB, free: 6.016 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03351/0.3586, allocations: 1.791 MB / 432.5 MB, free: 4.34 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.43, allocations: 11.17 kB / 432.5 MB, free: 4.332 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Blocks_Examples_BusUsage.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Blocks.Examples.BusUsage_res.csv. Warning: Get data of variable controlBus.realSignal1 from file Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.csv failed! Error: Could not read variable controlBus.integerSignal in file Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.csv. Warning: Get data of variable controlBus.integerSignal from file Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.csv failed! Error: Could not read variable controlBus.booleanSignal in file Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.csv. Warning: Get data of variable controlBus.booleanSignal from file Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.csv failed! Error: Could not read variable controlBus.subControlBus.myRealSignal in file Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.csv. Warning: Get data of variable controlBus.subControlBus.myRealSignal from file Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.csv failed! Error: Could not read variable controlBus.subControlBus.myBooleanSignal in file Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.csv. Warning: Get data of variable controlBus.subControlBus.myBooleanSignal from file Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.865894776998175]