Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods.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.001523/0.001523, allocations: 74.72 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.001387/0.001387, allocations: 172.1 kB / 23.23 MB, free: 4.195 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.281/1.281, allocations: 177.2 MB / 203.6 MB, free: 8.227 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.158/1.158, allocations: 154.7 MB / 414.7 MB, free: 6.484 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.BaseClasses.Validation.MotorEfficiencyMethods,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods") translateModel(IDEAS.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.465e-05/1.465e-05, allocations: 2.281 kB / 0.6195 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.MotorEfficiencyMethods): time 0.006142/0.006157, allocations: 4.389 MB / 0.6238 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.009854/0.01601, allocations: 5.446 MB / 0.6291 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008746/0.01689, allocations: 31.75 kB / 0.6292 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00369/0.02058, allocations: 1.322 MB / 0.6304 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003162/0.02374, allocations: 1.386 MB / 0.6318 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003673/0.02741, allocations: 1.567 MB / 0.6333 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.02715/0.05456, allocations: 17.78 MB / 0.6507 GB, free: 4.5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005946/0.05515, allocations: 83.52 kB / 0.6508 GB, free: 4.41 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004413/0.05957, allocations: 2.001 MB / 0.6527 GB, free: 2.406 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001497/0.06106, allocations: 0.7478 MB / 0.6535 GB, free: 1.656 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000183/0.06125, allocations: 63.94 kB / 0.6535 GB, free: 1.594 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005425/0.06667, allocations: 3.38 MB / 0.6568 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of combineBinaries: time 0.002947/0.06962, allocations: 2.396 MB / 0.6592 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 0.001733/0.07135, allocations: 1.614 MB / 0.6607 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004411/0.07179, allocations: 84 kB / 0.6608 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of FrontEnd: time 0.0001082/0.0719, allocations: 27.81 kB / 0.6608 GB, free: 10.05 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 (75) * Number of variables: 75 (75) Notification: Performance of [SIM] Bindings: time 0.01181/0.08371, allocations: 10.13 MB / 0.6707 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of [SIM] FunctionAlias: time 0.002003/0.08572, allocations: 1.102 MB / 0.6718 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of [SIM] Early Inline: time 0.003547/0.08926, allocations: 2.749 MB / 0.6745 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of [SIM] Simplify 1: time 0.001017/0.09028, allocations: 498.5 kB / 0.675 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of [SIM] Alias: time 0.003649/0.09393, allocations: 2.291 MB / 0.6772 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of [SIM] Simplify 2: time 0.0007402/0.09467, allocations: 446.9 kB / 0.6776 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of [SIM] Remove Stream: time 0.0003054/0.09498, allocations: 230.7 kB / 0.6779 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of [SIM] Detect States: time 0.001386/0.09636, allocations: 0.9286 MB / 0.6788 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of [SIM] Events: time 0.0002221/0.09658, allocations: 110.9 kB / 0.6789 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of [SIM] Partitioning: time 0.001364/0.09795, allocations: 0.9595 MB / 0.6798 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of [SIM] Causalize: time 0.001408/0.09936, allocations: 0.9197 MB / 0.6807 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001823/0.1012, allocations: 1.666 MB / 0.6823 GB, free: 3.219 MB / 0.5762 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: $FUN_39 has type Real[9], false branch: 0.0 has type Real. Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.612251415848732] Failed to read output from testmodel.py, exit status != 0: 0.11015484482049942 0.12445337100000001 0.049481960000000005 Calling exit ...