Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.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.0008381/0.0008381, allocations: 80.25 kB / 20.06 MB, free: 4.465 MB / 18.57 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.001136/0.001136, allocations: 173.9 kB / 23.36 MB, free: 1.16 MB / 18.57 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 0.85/0.85, allocations: 177.1 MB / 203.7 MB, free: 5.699 MB / 186.7 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-545:108: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-545:116: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 0.6577/0.6577, allocations: 154.6 MB / 414.7 MB, free: 0.7656 MB / 378.7 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.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 7.895e-06/7.895e-06, allocations: 2.312 kB / 0.6196 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01184/0.01185, allocations: 16.62 MB / 0.6358 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004767/0.01662, allocations: 5.767 MB / 0.6415 GB, free: 6.555 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003154/0.01693, allocations: 63.75 kB / 0.6415 GB, free: 6.492 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001585/0.01852, allocations: 1.314 MB / 0.6428 GB, free: 5.172 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0007421/0.01926, allocations: 0.8664 MB / 0.6437 GB, free: 4.297 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.02042, allocations: 1.34 MB / 0.645 GB, free: 2.953 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.00189/0.02231, allocations: 3.727 MB / 0.6486 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001872/0.02418, allocations: 1.98 MB / 0.6505 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001218/0.0254, allocations: 1.887 MB / 0.6524 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007829/0.02618, allocations: 1.123 MB / 0.6535 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001551/0.02634, allocations: 216 kB / 0.6537 GB, free: 9.926 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004303/0.02677, allocations: 0.5418 MB / 0.6542 GB, free: 9.383 MB / 0.6198 GB Notification: Performance of combineBinaries: time 0.001464/0.02823, allocations: 2.783 MB / 0.6569 GB, free: 6.582 MB / 0.6198 GB Notification: Performance of replaceArrayConstructors: time 0.00077/0.029, allocations: 1.508 MB / 0.6584 GB, free: 5.062 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001824/0.02919, allocations: 100 kB / 0.6585 GB, free: 4.965 MB / 0.6198 GB Notification: Performance of FrontEnd: time 6.293e-05/0.02925, allocations: 35.88 kB / 0.6585 GB, free: 4.93 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 (349) * Number of variables: 803 (229) Notification: Performance of [SIM] Bindings: time 0.005024/0.03427, allocations: 8.39 MB / 0.6667 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of [SIM] FunctionAlias: time 0.001422/0.03569, allocations: 1.696 MB / 0.6684 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of [SIM] Early Inline: time 0.00603/0.04172, allocations: 9.411 MB / 0.6776 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of [SIM] Simplify 1: time 0.001022/0.04275, allocations: 0.9121 MB / 0.6785 GB, free: 220 kB / 0.6355 GB Notification: Performance of [SIM] Alias: time 0.2607/0.3034, allocations: 7.928 MB / 0.6862 GB, free: 66.21 MB / 0.6355 GB Notification: Performance of [SIM] Simplify 2: time 0.0009733/0.3044, allocations: 0.8296 MB / 0.687 GB, free: 66.08 MB / 0.6355 GB Notification: Performance of [SIM] Remove Stream: time 0.0004378/0.3048, allocations: 0.5927 MB / 0.6876 GB, free: 65.94 MB / 0.6355 GB Notification: Performance of [SIM] Detect States: time 0.001025/0.3059, allocations: 1.896 MB / 0.6894 GB, free: 65.76 MB / 0.6355 GB Notification: Performance of [SIM] Events: time 0.0002282/0.3061, allocations: 270.2 kB / 0.6897 GB, free: 65.71 MB / 0.6355 GB Notification: Performance of [SIM] Partitioning: time 0.001706/0.3078, allocations: 2.71 MB / 0.6923 GB, free: 65.42 MB / 0.6355 GB Notification: Performance of [SIM] Causalize: time 0.007101/0.3149, allocations: 9.187 MB / 0.7013 GB, free: 64.65 MB / 0.6355 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.004289/0.3192, allocations: 6.451 MB / 0.7076 GB, free: 61.36 MB / 0.6355 GB Notification: Performance of [INI] Simplify: time 0.003025/0.3222, allocations: 1.801 MB / 0.7094 GB, free: 60.55 MB / 0.6355 GB Notification: Performance of [INI] Inline: time 0.008501/0.3307, allocations: 11 MB / 0.7201 GB, free: 54.81 MB / 0.6355 GB Notification: Performance of [INI] Partitioning: time 0.0003631/0.3311, allocations: 94.06 kB / 0.7202 GB, free: 54.76 MB / 0.6355 GB Notification: Performance of [INI] Cleanup: time 0.002841/0.3339, allocations: 2.616 MB / 0.7228 GB, free: 53.24 MB / 0.6355 GB Notification: Performance of [INI] Causalize: time 0.02565/0.3596, allocations: 20.16 MB / 0.7424 GB, free: 48.66 MB / 0.6355 GB Notification: Performance of [INI] Tearing: time 0.0001204/0.3597, allocations: 313.4 kB / 0.7427 GB, free: 48.43 MB / 0.6355 GB Notification: Performance of [SIM] Initialization: time 1.823e-06/0.3597, allocations: 0 / 0.7427 GB, free: 48.43 MB / 0.6355 GB Notification: Performance of [SIM] DAE-Mode: time 0.0005819/0.3603, allocations: 316 kB / 0.743 GB, free: 48.32 MB / 0.6355 GB Notification: Performance of [SIM] Remove Dummies: time 7.214e-06/0.3603, allocations: 2 kB / 0.743 GB, free: 48.32 MB / 0.6355 GB Notification: Performance of [SIM] Tearing: time 6.52e-05/0.3603, allocations: 296.4 kB / 0.7433 GB, free: 48.1 MB / 0.6355 GB Notification: Performance of [SIM] Categorize: time 2.553e-05/0.3604, allocations: 12.97 kB / 0.7433 GB, free: 48.1 MB / 0.6355 GB Notification: Performance of [SIM] Solve: time 0.006256/0.3666, allocations: 3.233 MB / 0.7465 GB, free: 47.12 MB / 0.6355 GB Notification: Performance of [SIM] Jacobian: time 0.00576/0.3724, allocations: 6.924 MB / 0.7533 GB, free: 44.2 MB / 0.6355 GB Notification: Performance of [SIM] Minimize Homotopy System: time 7.374e-06/0.3724, allocations: 3.844 kB / 0.7533 GB, free: 44.2 MB / 0.6355 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 2 (2) {$TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 200 (scalar:154, array:46, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 95 (resizable: 95, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 212 (scalar:166, array:46, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 99 (resizable: 99, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 212 (scalar:166, array:46, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 99 (resizable: 99, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001338/0.3725, allocations: 134.3 kB / 0.7534 GB, free: 44.08 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFScalarize.mo:254:5-254:96:writable] Error: Internal error NFScalarize.scalarizeBackendVariable failed for: Real[2] load_N.connection3to4.terminal4.phase[4].i[:] = " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.7866598470136523] Failed to read output from testmodel.py, exit status != 0: 0.38295342214405537 0.388987816 0.358375346 Calling exit ...