Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TAeZoSysPro_TAeZoSysPro.PDE.Examples.DiffusionGaussian.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.001594/0.001594, allocations: 76.2 kB / 9.873 MB, free: 0.8203 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002515/0.004109, allocations: 444.3 kB / 10.31 MB, free: 396 kB / 10.45 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.001711/0.001711, allocations: 154.1 kB / 11.19 MB, free: 2.98 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002337/0.004048, allocations: 471.5 kB / 11.65 MB, free: 2.516 MB / 13.93 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.638/1.638, allocations: 158.6 MB / 171 MB, free: 2.609 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2438/1.882, allocations: 49.49 MB / 220.5 MB, free: 1.465 MB / 218.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro 3.3.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro 3.3.0-master/package.mo): time 0.09248/0.09248, allocations: 8.856 MB / 230.1 MB, free: 7.816 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006827/0.09931, allocations: 2.625 MB / 232.7 MB, free: 5.191 MB / 234.7 MB " [Timeout remaining time 180] Using package TAeZoSysPro with version 3.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro 3.3.0-master/package.mo) 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: translateModel(TAeZoSysPro.PDE.Examples.DiffusionGaussian,tolerance=1e-06,outputFormat="empty",numberOfIntervals=9990,variableFilter="",fileNamePrefix="TAeZoSysPro_TAeZoSysPro.PDE.Examples.DiffusionGaussian") translateModel(TAeZoSysPro.PDE.Examples.DiffusionGaussian,tolerance=1e-06,outputFormat="empty",numberOfIntervals=9990,variableFilter="",fileNamePrefix="TAeZoSysPro_TAeZoSysPro.PDE.Examples.DiffusionGaussian") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.433e-05, allocations: 6.25 kB / 234 MB, free: 3.93 MB / 234.7 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro.PDE.Examples.DiffusionGaussian): time 0.002723/0.002748, allocations: 1.332 MB / 235.3 MB, free: 2.586 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.003955, allocations: 0.5657 MB / 235.9 MB, free: 2.012 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.941e-05/0.003995, allocations: 3.938 kB / 235.9 MB, free: 2.008 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.728e-05/0.004052, allocations: 15.92 kB / 235.9 MB, free: 1.992 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002743/0.004326, allocations: 79.78 kB / 236 MB, free: 1.914 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.004585, allocations: 95.77 kB / 236.1 MB, free: 1.82 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002976/0.004883, allocations: 203.6 kB / 236.3 MB, free: 1.621 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.627e-05/0.004929, allocations: 15.92 kB / 236.3 MB, free: 1.605 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003408/0.00527, allocations: 183.8 kB / 236.5 MB, free: 1.426 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001716/0.005442, allocations: 87.77 kB / 236.5 MB, free: 1.34 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.348e-05/0.005485, allocations: 16 kB / 236.6 MB, free: 1.324 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.336e-05/0.005529, allocations: 20 kB / 236.6 MB, free: 1.305 MB / 234.7 MB Notification: Performance of combineBinaries: time 0.0002801/0.005809, allocations: 211.4 kB / 236.8 MB, free: 1.098 MB / 234.7 MB Notification: Performance of replaceArrayConstructors: time 5.829e-05/0.005867, allocations: 55.56 kB / 236.8 MB, free: 1.043 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.205e-05/0.005879, allocations: 0 / 236.8 MB, free: 1.043 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.591e-05/0.005895, allocations: 8 kB / 236.8 MB, free: 1.035 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 (9) * Number of variables: 97 (7) Notification: Performance of [SIM] Bindings: time 0.001771/0.007666, allocations: 1.199 MB / 238 MB, free: 15.71 MB / 250.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003919/0.008058, allocations: 209.6 kB / 238.2 MB, free: 15.5 MB / 250.7 MB Notification: Performance of [SIM] Early Inline: time 0.001423/0.009481, allocations: 1.163 MB / 239.4 MB, free: 14.3 MB / 250.7 MB Notification: Performance of [SIM] Simplify: time 0.0004162/0.009897, allocations: 260.2 kB / 239.7 MB, free: 14.02 MB / 250.7 MB Notification: Performance of [SIM] Alias: time 0.00158/0.01148, allocations: 0.8911 MB / 240.6 MB, free: 13.03 MB / 250.7 MB Notification: Performance of [SIM] Remove Stream: time 0.0001165/0.01159, allocations: 76.33 kB / 240.6 MB, free: 12.93 MB / 250.7 MB Notification: Performance of [SIM] Algorithm Locals: time 0.000121/0.01171, allocations: 80 kB / 240.7 MB, free: 12.85 MB / 250.7 MB Notification: Performance of [SIM] Detect States: time 0.0004888/0.0122, allocations: 326.8 kB / 241 MB, free: 12.45 MB / 250.7 MB Notification: Performance of [SIM] Events: time 0.0001039/0.01231, allocations: 75.91 kB / 241.1 MB, free: 12.38 MB / 250.7 MB Notification: Performance of [SIM] Partitioning: time 0.0004044/0.01271, allocations: 274.5 kB / 241.4 MB, free: 12.07 MB / 250.7 MB Notification: Performance of [SIM] Causalize: time 0.0009903/0.0137, allocations: 0.6589 MB / 242 MB, free: 11.38 MB / 250.7 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0007895/0.01449, allocations: 0.6673 MB / 242.7 MB, free: 10.71 MB / 250.7 MB Notification: Performance of [INI] Simplify: time 0.000708/0.0152, allocations: 399.3 kB / 243.1 MB, free: 10.27 MB / 250.7 MB Notification: Performance of [INI] Inline: time 0.001107/0.01631, allocations: 0.9639 MB / 244 MB, free: 9.301 MB / 250.7 MB Notification: Performance of [INI] Partitioning: time 2.316e-05/0.01633, allocations: 12.12 kB / 244.1 MB, free: 9.281 MB / 250.7 MB Notification: Performance of [INI] Cleanup: time 0.0001668/0.0165, allocations: 116 kB / 244.2 MB, free: 9.168 MB / 250.7 MB Notification: Performance of [INI] Causalize: time 0.002336/0.01883, allocations: 1.588 MB / 245.8 MB, free: 7.219 MB / 250.7 MB Notification: Performance of [INI] Tearing: time 1.952e-05/0.01885, allocations: 16 kB / 245.8 MB, free: 7.203 MB / 250.7 MB Notification: Performance of [SIM] Initialization: time 2.595e-06/0.01885, allocations: 4 kB / 245.8 MB, free: 7.199 MB / 250.7 MB Notification: Performance of [SIM] Remove Dummies: time 3.847e-06/0.01886, allocations: 4 kB / 245.8 MB, free: 7.195 MB / 250.7 MB Notification: Performance of [SIM] Tearing: time 6.452e-06/0.01886, allocations: 4 kB / 245.8 MB, free: 7.191 MB / 250.7 MB Notification: Performance of [SIM] Categorize: time 0.0001708/0.01904, allocations: 91.94 kB / 245.9 MB, free: 7.102 MB / 250.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo:795:7-798:102:writable] Error: Internal error NFComponentRef.mergeSubscripts failed because the subscripts {1} could not be fully merged onto $DER.$STA_1[1 + ((-2) + i)]. Result: $DER.$STA_1[1 + ((-2) + i)] with leftover: {1}. Error: Internal error NBSorting.tarjan failed to sort system: System Variables (1/22) ************************* (1|1) [DER-] (22) Real[22] $DER.$STA_1[1 + ((-2) + i)] System Equations (1/1) ************************ (1|1) [SCAL] (1) $DER.$STA_1[1 + ((-2) + i)] - Dth*((2.0*(u_1order[1 + i] - u_1order[i]))/(centralSecondOrder.x[1 + i] - centralSecondOrder.x[(-1) + i]) - (2.0*(u_1order[i] - u_1order[(-1) + i]))/(centralSecondOrder.x[i] - centralSecondOrder.x[(-1) + i]))*(1/(centralSecondOrder.x[i] - centralSecondOrder.x[(-1) + i])) = centralSecondOrder.SourceTerm[(-1) + i]; ($RES_SIM_10) =================== Scalar Matching =================== variable to equation ********************** var 1 --> eqn 1 var 2 --> eqn -1 var 3 --> eqn -1 var 4 --> eqn -1 var 5 --> eqn -1 var 6 --> eqn -1 var 7 --> eqn -1 var 8 --> eqn -1 var 9 --> eqn -1 var 10 --> eqn -1 var 11 --> eqn -1 var 12 --> eqn -1 var 13 --> eqn -1 var 14 --> eqn -1 var 15 --> eqn -1 var 16 --> eqn -1 var 17 --> eqn -1 var 18 --> eqn -1 var 19 --> eqn -1 var 20 --> eqn -1 var 21 --> eqn -1 var 22 --> eqn -1 equation to variable ********************** eqn 1 --> var 1 Error: Internal error NBSolve.solveStrongComponent failed with status = Solve.UNSOLVABLE while trying to solve following strong component: BLOCK: Resizable Component (status = Solve.UNPROCESSED, size = 22) -------------------------------------------------------------------- ### Variable: $DER.$STA_1[1 + ((-2) + i)] ### Equation: [FOR-] (22) ($RES_SIM_8) [----] for i in 2:23 loop [----] [-IF-] (1) ($RES_SIM_9) [----] [----] if i == 2 then [----] [----] [SCAL] (1) $DER.$STA_1[1 + ((-2) + i)] - Dth*((2.0*(u_1order[1 + i] - u_1order[i]))/(centralSecondOrder.x[1 + i] - centralSecondOrder.x[(-1) + i]) - (2.0*(u_1order[i] - u_1order[(-1) + i]))/(centralSecondOrder.x[i] - centralSecondOrder.x[(-1) + i]))*(1/(centralSecondOrder.x[i] - centralSecondOrder.x[(-1) + i])) = centralSecondOrder.SourceTerm[(-1) + i]; ($RES_SIM_10) [----] [----] elseif i == 23 then [----] [----] [SCAL] (1) $DER.$STA_1[1 + ((-2) + i)] - Dth*((2.0*(u_1order[1 + i] - u_1order[i]))/(centralSecondOrder.x[i] - centralSecondOrder.x[(-1) + i]) - (2.0*(u_1order[i] - u_1order[(-1) + i]))/(centralSecondOrder.x[i] - centralSecondOrder.x[(-2) + i]))*(1/(centralSecondOrder.x[i] - centralSecondOrder.x[(-1) + i])) = centralSecondOrder.SourceTerm[(-1) + i]; ($RES_SIM_11) [----] [----] else [----] [----] [SCAL] (1) $DER.$STA_1[1 + ((-2) + i)] - Dth*((2.0*(u_1order[1 + i] - u_1order[i]))/(centralSecondOrder.x[1 + i] - centralSecondOrder.x[(-1) + i]) - (2.0*(u_1order[i] - u_1order[(-1) + i]))/(centralSecondOrder.x[i] - centralSecondOrder.x[(-2) + i]))*(1/(centralSecondOrder.x[i] - centralSecondOrder.x[(-1) + i])) = centralSecondOrder.SourceTerm[(-1) + i]; ($RES_SIM_12) [----] [----] end if; [----] end for; " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.3826519050635397]