Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Preconfigured.Validation.ControlledFlowMachinePreconfigured.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.001211/0.001211, allocations: 76.2 kB / 19.96 MB, free: 1.453 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.001409/0.001409, allocations: 174 kB / 23.23 MB, free: 4.203 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.289/1.289, allocations: 177.2 MB / 203.6 MB, free: 8.23 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.141/1.141, allocations: 154.7 MB / 414.7 MB, free: 6.531 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) 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: translateModel(IDEAS.Fluid.Movers.Preconfigured.Validation.ControlledFlowMachinePreconfigured,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Preconfigured.Validation.ControlledFlowMachinePreconfigured") translateModel(IDEAS.Fluid.Movers.Preconfigured.Validation.ControlledFlowMachinePreconfigured,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Preconfigured.Validation.ControlledFlowMachinePreconfigured") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.277e-05/1.277e-05, allocations: 2.281 kB / 0.6196 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Preconfigured.Validation.ControlledFlowMachinePreconfigured): time 0.7155/0.7155, allocations: 386 MB / 0.9965 GB, free: 9.5 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.05145/0.767, allocations: 36.27 MB / 1.032 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005039/0.772, allocations: 202.4 kB / 1.032 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.009069/0.7811, allocations: 3.147 MB / 1.035 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01956/0.8007, allocations: 7.701 MB / 1.043 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.01008/0.8107, allocations: 4.087 MB / 1.047 GB, free: 5.973 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.05647/0.8672, allocations: 38.12 MB / 1.084 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007042/0.8743, allocations: 3.291 MB / 1.087 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02128/0.8955, allocations: 8.965 MB / 1.096 GB, free: 3.441 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007043/0.9026, allocations: 2.969 MB / 1.099 GB, free: 492 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001274/0.9039, allocations: 384 kB / 1.099 GB, free: 108 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3836/1.287, allocations: 7.104 MB / 1.106 GB, free: 99.43 MB / 0.8887 GB Notification: Performance of combineBinaries: time 0.008868/1.296, allocations: 9.114 MB / 1.115 GB, free: 97.09 MB / 0.8887 GB Notification: Performance of replaceArrayConstructors: time 0.004387/1.301, allocations: 5.625 MB / 1.12 GB, free: 94.75 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001223/1.302, allocations: 407.9 kB / 1.121 GB, free: 94.75 MB / 0.8887 GB Notification: Performance of FrontEnd: time 0.0007167/1.303, allocations: 133.8 kB / 1.121 GB, free: 94.75 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 614 (582) * Number of variables: 614 (560) Notification: Performance of [SIM] Bindings: time 0.02139/1.324, allocations: 27.08 MB / 1.147 GB, free: 86.59 MB / 0.8887 GB Notification: Performance of [SIM] FunctionAlias: time 0.004656/1.329, allocations: 4.123 MB / 1.151 GB, free: 85.72 MB / 0.8887 GB Notification: Performance of [SIM] Early Inline: time 0.01354/1.342, allocations: 15.13 MB / 1.166 GB, free: 85.11 MB / 0.8887 GB Notification: Performance of [SIM] Simplify 1: time 0.003499/1.346, allocations: 1.848 MB / 1.168 GB, free: 84.58 MB / 0.8887 GB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.0179/1.364, allocations: 15.55 MB / 1.183 GB, free: 81 MB / 0.8887 GB Notification: Performance of [SIM] Simplify 2: time 0.002289/1.366, allocations: 1.529 MB / 1.185 GB, free: 80.56 MB / 0.8887 GB Notification: Performance of [SIM] Remove Stream: time 0.0009715/1.367, allocations: 0.965 MB / 1.186 GB, free: 80.37 MB / 0.8887 GB Notification: Performance of [SIM] Detect States: time 0.003074/1.37, allocations: 3.499 MB / 1.189 GB, free: 79.83 MB / 0.8887 GB Notification: Performance of [SIM] Events: time 0.0004852/1.37, allocations: 411 kB / 1.189 GB, free: 79.78 MB / 0.8887 GB Notification: Performance of [SIM] Partitioning: time 0.004134/1.375, allocations: 4.094 MB / 1.193 GB, free: 79.08 MB / 0.8887 GB Notification: Performance of [SIM] Causalize: time 0.007919/1.382, allocations: 6.918 MB / 1.2 GB, free: 78.44 MB / 0.8887 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.005491/1.388, allocations: 7.548 MB / 1.208 GB, free: 75.97 MB / 0.8887 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NBackEnd/Classes/NBEquation.mo:675:7-675:72:writable] Error: Type mismatch in if-expression in component . True branch: {0.0, 1.6666666666666667, 3.3333333333333335} has type Real[3], false branch: 0.0 has type Real. Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 4.870235279202461] Failed to read output from testmodel.py, exit status != 0: 1.3968064151704311 1.405800199 0.10073322900000001 Calling exit ...