Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.ParallelWithActions.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.001833/0.001833, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.002337/0.002337, allocations: 190 kB / 22.1 MB, free: 5.152 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.486/1.486, allocations: 225.6 MB / 250.8 MB, free: 13.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo): time 0.1007/0.1007, allocations: 13.78 MB / 319.8 MB, free: 10.84 MB / 254.1 MB " [Timeout remaining time 180] Using package Modelica_StateGraph2 with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo) 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: translateModel(Modelica_StateGraph2.Examples.BasicStateGraphs.ParallelWithActions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.ParallelWithActions") translateModel(Modelica_StateGraph2.Examples.BasicStateGraphs.ParallelWithActions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.ParallelWithActions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 63.89 kB / 446.6 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1475, allocations: 55.65 MB / 0.4905 GB, free: 7.094 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_StateGraph2.Examples.BasicStateGraphs.ParallelWithActions): time 0.004549/0.1521, allocations: 2.873 MB / 0.4933 GB, free: 4.203 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0034/0.1555, allocations: 1.57 MB / 0.4948 GB, free: 2.625 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000366/0.1559, allocations: 43.62 kB / 0.4949 GB, free: 2.582 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003319/0.1592, allocations: 1.772 MB / 0.4966 GB, free: 0.8008 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003059/0.1595, allocations: 91 kB / 0.4967 GB, free: 0.7109 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:15020:7-15026:3:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRoot. Functionality might be partially supported but is not guaranteed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:15020:7-15026:3:writable] Warning: The first argument 'parallel.local_entry.node' of Connections.uniqueRoot must have the form A.R, where A is a connector and R an over-determined type/record. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:15028:7-15035:4:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRootIndices. Functionality might be partially supported but is not guaranteed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:15028:7-15035:4:writable] Warning: The first argument 'parallel.local_entry.node' of Connections.uniqueRootIndices must have the form A.R, where A is a connector and R an over-determined type/record. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:15028:7-15035:4:writable] Warning: The second argument 'parallel.local_exit.node' of Connections.uniqueRootIndices must have the form A.R, where A is a connector and R an over-determined type/record. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:15046:9-15046:83:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRoot. Functionality might be partially supported but is not guaranteed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:12183:5-12189:3:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRoot. Functionality might be partially supported but is not guaranteed. Notification: Performance of NFTyping.typeClassSections: time 0.001942/0.1614, allocations: 0.6512 MB / 0.4973 GB, free: 64 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001488/0.1629, allocations: 1.26 MB / 0.4986 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001889/0.1648, allocations: 1.222 MB / 0.4998 GB, free: 13.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006125/0.1654, allocations: 0.4905 MB / 0.5002 GB, free: 13.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005487/0.166, allocations: 497.6 kB / 0.5007 GB, free: 12.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001644/0.1661, allocations: 108 kB / 0.5008 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002773/0.1664, allocations: 152 kB / 0.501 GB, free: 12.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003259/0.1667, allocations: 311.1 kB / 0.5013 GB, free: 12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004888/0.1672, allocations: 0.4895 MB / 0.5017 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001596/0.1688, allocations: 1.362 MB / 0.5031 GB, free: 10.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1688, allocations: 4 kB / 0.5031 GB, free: 10.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1688, allocations: 0 / 0.5031 GB, free: 10.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.133e-05/0.1688, allocations: 0 / 0.5031 GB, free: 10.14 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 295 * Number of variables: 295 Notification: Performance of Generate backend data structure: time 0.001966/0.1708, allocations: 1.247 MB / 0.5043 GB, free: 8.848 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.1709, allocations: 8.031 kB / 0.5043 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002677/0.1711, allocations: 124.2 kB / 0.5044 GB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.1723, allocations: 0.587 MB / 0.505 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.1724, allocations: 90.69 kB / 0.5051 GB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.1726, allocations: 112.4 kB / 0.5052 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00225/0.1748, allocations: 1.359 MB / 0.5065 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/0.1748, allocations: 7.938 kB / 0.5065 GB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.1749, allocations: 48 kB / 0.5066 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.427e-05/0.175, allocations: 45.98 kB / 0.5066 GB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001785/0.1768, allocations: 0.9532 MB / 0.5075 GB, free: 5.406 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:14978:9-14978:46:writable] Error: Found equation without time-dependent variables: parallel.entry_restart[1] = true Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005657/0.1825, allocations: 4.006 MB / 0.5115 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.1836, allocations: 0.6447 MB / 0.5121 GB, free: 0.5742 MB / 382.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/ResolveLoops.mo:293:9-293:86:writable] Error: Internal error function resolveLoops_cutNodes failed Notification: Performance of preOpt resolveLoops (simulation): time 0.0006654/0.1842, allocations: 379 kB / 0.5124 GB, free: 204 kB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:12864:3-12864:32:writable] Error: Model is structurally singular, error found sorting equations parallel.inPort[1].checkOneDelayedTransitionPerLoop = parallel.inPort[1].checkOneDelayedTransitionPerLoop for variables parallel.inPort[1].checkOneDelayedTransitionPerLoop:DISCRETE(flow=false ) \"Is used to check that every connection loop has at least one delayed transition\" type: Boolean [1] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:12865:3-12865:34:writable] Error: Model is structurally singular, error found sorting equations step7.inPort[1].checkOneDelayedTransitionPerLoop = step7.inPort[1].checkOneDelayedTransitionPerLoop for variables step7.inPort[1].checkOneDelayedTransitionPerLoop:DISCRETE(flow=false ) \"Is used to check that every connection loop has at least one delayed transition\" type: Boolean [1] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:12868:3-12868:30:writable] Error: Model is structurally singular, error found sorting equations step1.inPort[1].checkOneDelayedTransitionPerLoop = step1.inPort[1].checkOneDelayedTransitionPerLoop for variables step1.inPort[1].checkOneDelayedTransitionPerLoop:DISCRETE(flow=false ) \"Is used to check that every connection loop has at least one delayed transition\" type: Boolean [1] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:12868:3-12868:30:writable] Error: Model is structurally singular, error found sorting equations step4.inPort[1].checkOneDelayedTransitionPerLoop = step4.inPort[1].checkOneDelayedTransitionPerLoop for variables step4.inPort[1].checkOneDelayedTransitionPerLoop:DISCRETE(flow=false ) \"Is used to check that every connection loop has at least one delayed transition\" type: Boolean [1] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:12870:5-12870:30:writable] Error: Model is structurally singular, error found sorting equations step3.outPort[1].checkOneDelayedTransitionPerLoop = step3.outPort[1].checkOneDelayedTransitionPerLoop for variables step3.outPort[1].checkOneDelayedTransitionPerLoop:DISCRETE(flow=false ) \"Is used to check that every connection loop has at least one delayed transition\" type: Boolean [1] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:12870:5-12870:30:writable] Error: Model is structurally singular, error found sorting equations step7.inPort[1].checkOneDelayedTransitionPerLoop = step7.inPort[1].checkOneDelayedTransitionPerLoop for variables step7.inPort[1].checkOneDelayedTransitionPerLoop:DISCRETE(flow=false ) \"Is used to check that every connection loop has at least one delayed transition\" type: Boolean [1] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:3086:7-3089:31:writable] Error: Model is structurally singular, error found sorting equations step1.outPort[1].checkOneDelayedTransitionPerLoop = step1.outPort[1].checkOneDelayedTransitionPerLoop for variables step1.outPort[1].checkOneDelayedTransitionPerLoop:DISCRETE(flow=false ) \"Is used to check that every connection loop has at least one delayed transition\" type: Boolean [1] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:3103:7-3106:33:writable] Error: Model is structurally singular, error found sorting equations step1.inPort[1].checkOneDelayedTransitionPerLoop = step1.inPort[1].checkOneDelayedTransitionPerLoop for variables step1.inPort[1].checkOneDelayedTransitionPerLoop:DISCRETE(flow=false ) \"Is used to check that every connection loop has at least one delayed transition\" type: Boolean [1] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:3107:7-3111:33:writable] Error: Model is structurally singular, error found sorting equations step4.inPort[1].checkOneDelayedTransitionPerLoop = step4.inPort[1].checkOneDelayedTransitionPerLoop for variables step4.inPort[1].checkOneDelayedTransitionPerLoop:DISCRETE(flow=false ) \"Is used to check that every connection loop has at least one delayed transition\" type: Boolean [1] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:3112:7-3115:33:writable] Error: Model is structurally singular, error found sorting equations step4.outPort[1].checkOneDelayedTransitionPerLoop = step4.outPort[1].checkOneDelayedTransitionPerLoop for variables step4.outPort[1].checkOneDelayedTransitionPerLoop:DISCRETE(flow=false ) \"Is used to check that every connection loop has at least one delayed transition\" type: Boolean [1] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:3138:7-3142:33:writable] Error: Model is structurally singular, error found sorting equations step7.inPort[1].checkOneDelayedTransitionPerLoop = step7.inPort[1].checkOneDelayedTransitionPerLoop for variables step7.inPort[1].checkOneDelayedTransitionPerLoop:DISCRETE(flow=false ) \"Is used to check that every connection loop has at least one delayed transition\" type: Boolean [1] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:3143:7-3146:33:writable] Error: Model is structurally singular, error found sorting equations parallel.inPort[1].checkOneDelayedTransitionPerLoop = parallel.inPort[1].checkOneDelayedTransitionPerLoop for variables parallel.inPort[1].checkOneDelayedTransitionPerLoop:DISCRETE(flow=false ) \"Is used to check that every connection loop has at least one delayed transition\" type: Boolean [1] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:3147:7-3150:33:writable] Error: Model is structurally singular, error found sorting equations parallel.inPort[1].checkOneDelayedTransitionPerLoop = parallel.inPort[1].checkOneDelayedTransitionPerLoop for variables parallel.inPort[1].checkOneDelayedTransitionPerLoop:DISCRETE(flow=false ) \"Is used to check that every connection loop has at least one delayed transition\" type: Boolean [1] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:3151:7-3155:33:writable] Error: Model is structurally singular, error found sorting equations step7.inPort[1].checkOneDelayedTransitionPerLoop = step7.inPort[1].checkOneDelayedTransitionPerLoop for variables step7.inPort[1].checkOneDelayedTransitionPerLoop:DISCRETE(flow=false ) \"Is used to check that every connection loop has at least one delayed transition\" type: Boolean [1] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:3156:7-3160:33:writable] Error: Model is structurally singular, error found sorting equations step3.outPort[1].checkOneDelayedTransitionPerLoop = step3.outPort[1].checkOneDelayedTransitionPerLoop for variables step3.outPort[1].checkOneDelayedTransitionPerLoop:DISCRETE(flow=false ) \"Is used to check that every connection loop has at least one delayed transition\" type: Boolean [1] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:3162:7-3166:33:writable] Error: Model is structurally singular, error found sorting equations step7.inPort[1].checkOneDelayedTransitionPerLoop = step7.inPort[1].checkOneDelayedTransitionPerLoop for variables step7.inPort[1].checkOneDelayedTransitionPerLoop:DISCRETE(flow=false ) \"Is used to check that every connection loop has at least one delayed transition\" type: Boolean [1] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:15112:9-15113:64:writable] Error: Model is structurally singular, error found sorting equations step7.inPort[1].checkOneDelayedTransitionPerLoop = step7.inPort[1].checkOneDelayedTransitionPerLoop for variables step7.inPort[1].checkOneDelayedTransitionPerLoop:DISCRETE(flow=false ) \"Is used to check that every connection loop has at least one delayed transition\" type: Boolean [1] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:12433:7-12433:89:writable] Error: Model is structurally singular, error found sorting equations step7.inPort[1].checkOneDelayedTransitionPerLoop = step7.inPort[1].checkOneDelayedTransitionPerLoop for variables step7.inPort[1].checkOneDelayedTransitionPerLoop:DISCRETE(flow=false ) \"Is used to check that every connection loop has at least one delayed transition\" type: Boolean [1] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:12433:7-12433:89:writable] Error: Model is structurally singular, error found sorting equations parallel.inPort[1].checkOneDelayedTransitionPerLoop = parallel.inPort[1].checkOneDelayedTransitionPerLoop for variables parallel.inPort[1].checkOneDelayedTransitionPerLoop:DISCRETE(flow=false ) \"Is used to check that every connection loop has at least one delayed transition\" type: Boolean [1] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:14978:9-14978:46:writable] Error: Found equation without time-dependent variables: parallel.entry_restart[1] = true Notification: Performance of preOpt evalFunc (simulation): time 0.3179/0.5022, allocations: 1.104 MB / 0.5135 GB, free: 26.42 MB / 382.1 MB Error: An independent subset of the model has imbalanced number of equations (1) and variables (0). variables: equations: 1 : true = true Notification: Performance of preOpt encapsulateWhenConditions (simulation) : time 0.0004908/0.5027, allocations: 371.4 kB / 0.5139 GB, free: 26.34 MB / 382.1 MB Error: pre-optimization module encapsulateWhenConditions (simulation) failed. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.1255288999527693] Failed to read output from testmodel.py, exit status != 0: 0.5109002524986863 0.52363955 0.351582502 Calling exit ...