Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.ParallelBranches.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.001473/0.001473, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.001546/0.001546, allocations: 189.2 kB / 22.11 MB, free: 4.223 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.602/1.602, allocations: 225.6 MB / 250.8 MB, free: 2.668 MB / 190.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.1102/0.1102, allocations: 13.79 MB / 319.8 MB, free: 14.87 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.ParallelBranches,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.ParallelBranches") translateModel(Modelica_StateGraph2.Examples.BasicStateGraphs.ParallelBranches,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.ParallelBranches") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 59.89 kB / 446.6 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3139, allocations: 55.66 MB / 0.4905 GB, free: 22.61 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_StateGraph2.Examples.BasicStateGraphs.ParallelBranches): time 0.003448/0.3173, allocations: 2.288 MB / 0.4927 GB, free: 20.8 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.3193, allocations: 1.193 MB / 0.4939 GB, free: 19.85 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002109/0.3195, allocations: 29.38 kB / 0.4939 GB, free: 19.83 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001799/0.3213, allocations: 1.162 MB / 0.4951 GB, free: 18.96 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001712/0.3215, allocations: 52 kB / 0.4951 GB, free: 18.91 MB / 366.1 MB [/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. [/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.001178/0.3226, allocations: 417.5 kB / 0.4955 GB, free: 18.58 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008556/0.3235, allocations: 0.8119 MB / 0.4963 GB, free: 18.08 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001097/0.3246, allocations: 0.8507 MB / 0.4971 GB, free: 17.49 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003299/0.3249, allocations: 319.1 kB / 0.4974 GB, free: 17.3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002939/0.3252, allocations: 331.1 kB / 0.4978 GB, free: 17.05 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000128/0.3253, allocations: 72 kB / 0.4978 GB, free: 17.05 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002304/0.3256, allocations: 96.95 kB / 0.4979 GB, free: 17.04 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000205/0.3258, allocations: 207.3 kB / 0.4981 GB, free: 16.88 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002958/0.3261, allocations: 332.2 kB / 0.4984 GB, free: 16.62 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009974/0.3271, allocations: 0.909 MB / 0.4993 GB, free: 15.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.3271, allocations: 1.156 kB / 0.4993 GB, free: 15.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.3271, allocations: 0 / 0.4993 GB, free: 15.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.3271, allocations: 0 / 0.4993 GB, free: 15.96 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.001248/0.3283, allocations: 0.875 MB / 0.5002 GB, free: 15.26 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.3284, allocations: 7.812 kB / 0.5002 GB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/0.3285, allocations: 82.3 kB / 0.5003 GB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007543/0.3293, allocations: 417.1 kB / 0.5007 GB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.876e-05/0.3294, allocations: 62.48 kB / 0.5007 GB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.3295, allocations: 74.03 kB / 0.5008 GB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.3309, allocations: 0.9288 MB / 0.5017 GB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.3309, allocations: 13.95 kB / 0.5017 GB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-05/0.331, allocations: 35.47 kB / 0.5017 GB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/0.331, allocations: 18.91 kB / 0.5018 GB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.3321, allocations: 0.6449 MB / 0.5024 GB, free: 13.88 MB / 366.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.003001/0.3351, allocations: 2.663 MB / 0.505 GB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005564/0.3356, allocations: 412.4 kB / 0.5054 GB, free: 10.97 MB / 366.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.0002718/0.3359, allocations: 198.3 kB / 0.5056 GB, free: 10.77 MB / 366.1 MB [/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 parallel.entry[1].checkOneDelayedTransitionPerLoop = parallel.entry[1].checkOneDelayedTransitionPerLoop for variables parallel.entry[1].checkOneDelayedTransitionPerLoop:DISCRETE(flow=false ) \"Is used to check that every connection loop has at least one delayed transition\" type: Boolean [2] [/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 parallel.entry[2].checkOneDelayedTransitionPerLoop = parallel.entry[2].checkOneDelayedTransitionPerLoop for variables parallel.entry[2].checkOneDelayedTransitionPerLoop:DISCRETE(flow=false ) \"Is used to check that every connection loop has at least one delayed transition\" type: Boolean [2] [/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 step2.outPort[1].checkOneDelayedTransitionPerLoop = step2.outPort[1].checkOneDelayedTransitionPerLoop for variables step2.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:2140:9-2143:35: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:2144:9-2147:35:writable] Error: Model is structurally singular, error found sorting equations parallel.entry[1].checkOneDelayedTransitionPerLoop = parallel.entry[1].checkOneDelayedTransitionPerLoop for variables parallel.entry[1].checkOneDelayedTransitionPerLoop:DISCRETE(flow=false ) \"Is used to check that every connection loop has at least one delayed transition\" type: Boolean [2] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:2148:9-2151:35:writable] Error: Model is structurally singular, error found sorting equations parallel.entry[2].checkOneDelayedTransitionPerLoop = parallel.entry[2].checkOneDelayedTransitionPerLoop for variables parallel.entry[2].checkOneDelayedTransitionPerLoop:DISCRETE(flow=false ) \"Is used to check that every connection loop has at least one delayed transition\" type: Boolean [2] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.1.0/package.mo:2165:9-2169:35:writable] Error: Model is structurally singular, error found sorting equations step2.outPort[1].checkOneDelayedTransitionPerLoop = step2.outPort[1].checkOneDelayedTransitionPerLoop for variables step2.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:15081:9-15083:86:writable] Error: Found equation without time-dependent variables: step2.outPort[1].checkOneDelayedTransitionPerLoop = Modelica_StateGraph2.Internal.Utilities.propagateLoopCheck({true}) and Modelica_StateGraph2.Internal.Utilities.propagateLoopCheck({}) Notification: Performance of preOpt evalFunc (simulation): time 0.001099/0.337, allocations: 0.7514 MB / 0.5063 GB, free: 10.01 MB / 366.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.0003211/0.3373, allocations: 256.2 kB / 0.5066 GB, free: 9.742 MB / 366.1 MB Error: pre-optimization module encapsulateWhenConditions (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.997958328574896] Failed to read output from testmodel.py, exit status != 0: 0.3456050045788288 0.35670715099999994 0.02648191 Calling exit ...